From 73a6bcf5cf4404b7fb5f84eda35b436b449f9d03 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Wed, 11 Feb 2004 09:42:58 +0000 Subject: [PATCH] Complete the fix for handling of exceptions happening during the argument passing phase of function calls (fixes bug #26866) --- Zend/zend_execute_API.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 1064074e60f..dc1a90313c7 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); {