From: Zeev Suraski Date: Wed, 11 Feb 2004 09:42:58 +0000 (+0000) Subject: Complete the fix for handling of exceptions happening during the X-Git-Tag: php-5.0.0b4RC1~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73a6bcf5cf4404b7fb5f84eda35b436b449f9d03;p=php Complete the fix for handling of exceptions happening during the argument passing phase of function calls (fixes bug #26866) --- 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); {