mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
Add removed lcname, it is still needed.
This commit is contained in:
parent
9870f005e1
commit
7203684680
@ -1629,6 +1629,8 @@ ZEND_API zend_bool zend_is_callable(zval *callable, zend_bool syntax_only, char
|
||||
if (syntax_only)
|
||||
return 1;
|
||||
|
||||
lcname = zend_str_tolower_dup(Z_STRVAL_PP(method), Z_STRLEN_PP(method));
|
||||
|
||||
if (EG(active_op_array) && strcmp(lcname, "self") == 0) {
|
||||
ce = EG(active_op_array)->scope;
|
||||
} else if (strcmp(lcname, "parent") == 0 && EG(active_op_array) && EG(active_op_array)->scope) {
|
||||
|
Loading…
Reference in New Issue
Block a user