summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2004-02-11 09:42:58 +0000
committerZeev Suraski <zeev@php.net>2004-02-11 09:42:58 +0000
commit73a6bcf5cf4404b7fb5f84eda35b436b449f9d03 (patch)
treeb5b98fc8cffdf667b5203af59f121c96c8306877
parent4b632eba46ec28186894388791b8ee8ea1472aa7 (diff)
downloadphp-git-73a6bcf5cf4404b7fb5f84eda35b436b449f9d03.tar.gz
Complete the fix for handling of exceptions happening during the
argument passing phase of function calls (fixes bug #26866)
-rw-r--r--Zend/zend_execute_API.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 1064074e60..dc1a90313c 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -141,6 +141,7 @@ void init_executor(TSRMLS_D)
EG(in_autoload) = 0;
zend_ptr_stack_init(&EG(argument_stack));
+ zend_ptr_stack_push(&EG(argument_stack), (void *) NULL);
zend_hash_init(&EG(symbol_table), 50, NULL, ZVAL_PTR_DTOR, 0);
{