Skip to content

Commit 3f7bf35

Browse files
committed
execute_data->return_value is not used for internal functions
1 parent cb3cfc9 commit 3f7bf35

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_execute_API.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,6 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache) /
822822
int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0;
823823
ZVAL_NULL(fci->retval);
824824
call->prev_execute_data = EG(current_execute_data);
825-
call->return_value = NULL; /* this is not a constructor call */
826825
EG(current_execute_data) = call;
827826
if (EXPECTED(zend_execute_internal == NULL)) {
828827
/* saves one function call if zend_execute_internal is not used */

0 commit comments

Comments
 (0)