|
|
|
@ -1052,11 +1052,13 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS |
|
|
|
if (EX(function_state).function->common.scope) { |
|
|
|
EG(scope) = EX(function_state).function->common.scope; |
|
|
|
} |
|
|
|
((zend_internal_function *) EX(function_state).function)->handler(fci->param_count, *fci->retval_ptr_ptr, EX(function_state).function->common.return_reference?fci->retval_ptr_ptr:NULL, (fci->object_pp?*fci->object_pp:NULL), 1 TSRMLS_CC); |
|
|
|
((zend_internal_function *) EX(function_state).function)->handler(fci->param_count, *fci->retval_ptr_ptr, fci->retval_ptr_ptr, (fci->object_pp?*fci->object_pp:NULL), 1 TSRMLS_CC); |
|
|
|
/* We shouldn't fix bad extensions here, |
|
|
|
because it can break proper ones (Bug #34045) |
|
|
|
if (!EX(function_state).function->common.return_reference) |
|
|
|
{ |
|
|
|
INIT_PZVAL(*fci->retval_ptr_ptr); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
} |
|
|
|
zend_ptr_stack_clear_multiple(TSRMLS_C); |
|
|
|
if (call_via_handler) { |
|
|
|
|