Skip to content

Commit 55798e0

Browse files
committed
Lowercase method name in zend_call_method()
1 parent 86cd009 commit 55798e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_interfaces.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, z
5353
}
5454
if (!fn_proxy || !*fn_proxy) {
5555
if (EXPECTED(obj_ce)) {
56-
fn = zend_hash_str_find_ptr(
56+
fn = zend_hash_str_find_ptr_lc(
5757
&obj_ce->function_table, function_name, function_name_len);
5858
if (UNEXPECTED(fn == NULL)) {
5959
/* error at c-level */

0 commit comments

Comments
 (0)