mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
Lowercase method name in zend_call_method()
This commit is contained in:
parent
86cd009718
commit
55798e0e39
@ -53,7 +53,7 @@ ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, z
|
||||
}
|
||||
if (!fn_proxy || !*fn_proxy) {
|
||||
if (EXPECTED(obj_ce)) {
|
||||
fn = zend_hash_str_find_ptr(
|
||||
fn = zend_hash_str_find_ptr_lc(
|
||||
&obj_ce->function_table, function_name, function_name_len);
|
||||
if (UNEXPECTED(fn == NULL)) {
|
||||
/* error at c-level */
|
||||
|
Loading…
Reference in New Issue
Block a user