From ceaefdb01b4f3e9d9fd1fbd4df35743aba934f0b Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 16 Sep 2021 11:33:01 +0300 Subject: [PATCH] Fixed support for numeric string keys --- ext/opcache/jit/zend_jit_vm_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/zend_jit_vm_helpers.c b/ext/opcache/jit/zend_jit_vm_helpers.c index 8fba54cc9b7..9e1e8be697d 100644 --- a/ext/opcache/jit/zend_jit_vm_helpers.c +++ b/ext/opcache/jit/zend_jit_vm_helpers.c @@ -773,7 +773,7 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex, if (Z_TYPE_P(dim) == IS_LONG) { val = zend_hash_index_find(Z_ARRVAL_P(arr), Z_LVAL_P(dim)); } else /*if Z_TYPE_P(dim) == IS_STRING)*/ { - val = zend_hash_find(Z_ARRVAL_P(arr), Z_STR_P(dim)); + val = zend_symtable_find(Z_ARRVAL_P(arr), Z_STR_P(dim)); } if (val) { val_type = Z_TYPE_P(val);