Add removed lcname, it is still needed.

This commit is contained in:
Ilia Alshanetsky 2003-11-28 14:42:25 +00:00
parent 9870f005e1
commit 7203684680

View File

@ -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) {