mirror of
https://github.com/php/php-src.git
synced 2024-12-30 04:06:30 +08:00
- Fix typo
This commit is contained in:
parent
dc7cb19993
commit
57d57237cf
@ -1099,7 +1099,7 @@ void zend_do_end_function_declaration(znode *function_token TSRMLS_DC)
|
||||
pass_two(CG(active_op_array) TSRMLS_CC);
|
||||
|
||||
/* we don't care if the function name is longer, in fact lowercasing only
|
||||
* the beginning of the name speeds up th echeck process */
|
||||
* the beginning of the name speeds up the check process */
|
||||
name_len = strlen(CG(active_op_array)->function_name);
|
||||
zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, MIN(name_len, sizeof(lcname)-1));
|
||||
lcname[sizeof(lcname)-1] = '\0'; // zend_str_tolower_copy won't necessarily set the zero byte
|
||||
|
Loading…
Reference in New Issue
Block a user