We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f378842 commit 18dd41dCopy full SHA for 18dd41d
Zend/zend_closures.c
@@ -307,6 +307,7 @@ static ZEND_NAMED_FUNCTION(zend_closure_call_magic) /* {{{ */ {
307
} ZEND_HASH_FOREACH_END();
308
} else if (ZEND_NUM_ARGS()) {
309
array_init_size(&fci.params[1], ZEND_NUM_ARGS());
310
+ zend_hash_real_init_packed(Z_ARRVAL(fci.params[1]));
311
zend_copy_parameters_array(ZEND_NUM_ARGS(), &fci.params[1]);
312
} else {
313
ZVAL_EMPTY_ARRAY(&fci.params[1]);
0 commit comments