fbc = CACHED_PTR(opline->result.num);
if (UNEXPECTED(fbc == NULL)) {
- func_name = RT_CONSTANT(opline, opline->op2) + 1;
- func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name), 1);
+ func_name = (zval *)RT_CONSTANT(opline, opline->op2);
+ func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 1), 1);
if (func == NULL) {
- func_name++;
- func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name), 1);
+ func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 2), 1);
if (UNEXPECTED(func == NULL)) {
- ZEND_VM_DISPATCH_TO_HELPER(zend_undefined_function_helper, function_name, func_name);
+ ZEND_VM_DISPATCH_TO_HELPER(zend_undefined_function_helper);
}
}
fbc = Z_FUNC_P(func);
fbc = CACHED_PTR(opline->result.num);
if (UNEXPECTED(fbc == NULL)) {
- func_name = RT_CONSTANT(opline, opline->op2) + 1;
- func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name), 1);
+ func_name = (zval *)RT_CONSTANT(opline, opline->op2);
+ func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 1), 1);
if (func == NULL) {
- func_name++;
- func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name), 1);
+ func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 2), 1);
if (UNEXPECTED(func == NULL)) {
- ZEND_VM_TAIL_CALL(zend_undefined_function_helper_SPEC(func_name ZEND_OPCODE_HANDLER_ARGS_PASSTHRU_CC));
+ ZEND_VM_TAIL_CALL(zend_undefined_function_helper_SPEC(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU));
}
}
fbc = Z_FUNC_P(func);