mirror of
https://github.com/php/php-src.git
synced 2026-03-25 08:42:29 +01:00
Ready for PR
This commit is contained in:
@@ -7598,6 +7598,7 @@ ZEND_VM_HANDLER(158, ZEND_PROXY_CALL, ANY, ANY)
|
||||
|
||||
zend_free_proxy_call_func(fbc);
|
||||
|
||||
/* the previously call to current execute_data already check zend_execute_ex */
|
||||
ZEND_VM_ENTER();
|
||||
} else {
|
||||
zval retval;
|
||||
@@ -7614,7 +7615,12 @@ ZEND_VM_HANDLER(158, ZEND_PROXY_CALL, ANY, ANY)
|
||||
|
||||
EG(current_execute_data) = call;
|
||||
|
||||
call->func->internal_function.handler(call, ret);
|
||||
if (!zend_execute_internal) {
|
||||
/* saves one function call if zend_execute_internal is not used */
|
||||
fbc->internal_function.handler(call, ret);
|
||||
} else {
|
||||
zend_execute_internal(call, ret);
|
||||
}
|
||||
|
||||
execute_data = EG(current_execute_data) = call->prev_execute_data;
|
||||
|
||||
|
||||
@@ -1812,6 +1812,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_PROXY_CALL_SPEC_HANDLER(ZEND_O
|
||||
|
||||
zend_free_proxy_call_func(fbc);
|
||||
|
||||
/* the previously call to current execute_data already check zend_execute_ex */
|
||||
ZEND_VM_ENTER();
|
||||
} else {
|
||||
zval retval;
|
||||
@@ -1828,7 +1829,12 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_PROXY_CALL_SPEC_HANDLER(ZEND_O
|
||||
|
||||
EG(current_execute_data) = call;
|
||||
|
||||
call->func->internal_function.handler(call, ret);
|
||||
if (!zend_execute_internal) {
|
||||
/* saves one function call if zend_execute_internal is not used */
|
||||
fbc->internal_function.handler(call, ret);
|
||||
} else {
|
||||
zend_execute_internal(call, ret);
|
||||
}
|
||||
|
||||
execute_data = EG(current_execute_data) = call->prev_execute_data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user