mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
execute_data->return_value is not used for internal functions
This commit is contained in:
parent
cb3cfc9ff8
commit
3f7bf35e16
1 changed files with 0 additions and 1 deletions
|
@ -822,7 +822,6 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache) /
|
|||
int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0;
|
||||
ZVAL_NULL(fci->retval);
|
||||
call->prev_execute_data = EG(current_execute_data);
|
||||
call->return_value = NULL; /* this is not a constructor call */
|
||||
EG(current_execute_data) = call;
|
||||
if (EXPECTED(zend_execute_internal == NULL)) {
|
||||
/* saves one function call if zend_execute_internal is not used */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue