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 e27eca9 commit 2c6ee5dCopy full SHA for 2c6ee5d
Zend/zend_execute.c
@@ -1690,6 +1690,7 @@ static zval *zend_vm_stack_push_args_with_copy(int count TSRMLS_DC) /* {{{ */
1690
ZVAL_LONG(EG(argument_stack)->top, count);
1691
while (count-- > 0) {
1692
zval *data = --p->top;
1693
+ ZVAL_COPY_VALUE(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) + count, data);
1694
1695
if (UNEXPECTED(p->top == ZEND_VM_STACK_ELEMETS(p))) {
1696
zend_vm_stack r = p;
@@ -1698,7 +1699,6 @@ static zval *zend_vm_stack_push_args_with_copy(int count TSRMLS_DC) /* {{{ */
1698
1699
p = p->prev;
1700
efree(r);
1701
}
- ZVAL_COPY_VALUE(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) + count, data);
1702
1703
return EG(argument_stack)->top++;
1704
0 commit comments