]> granicus.if.org Git - php/commitdiff
init current_execute_data befor we start executing
authorThies C. Arntzen <thies@php.net>
Fri, 14 Feb 2003 12:25:09 +0000 (12:25 +0000)
committerThies C. Arntzen <thies@php.net>
Fri, 14 Feb 2003 12:25:09 +0000 (12:25 +0000)
Zend/zend_execute_API.c

index b170603bec27a0333f5ccdae48817da40f66c8e3..275278e29df6a793d9bcfe1cb3b4bc5d16a80c7c 100644 (file)
@@ -162,6 +162,8 @@ void init_executor(TSRMLS_D)
 
        EG(user_error_handler) = NULL;
 
+       EG(current_execute_data) = NULL;
+
        zend_ptr_stack_init(&EG(user_error_handlers));
        zend_ptr_stack_init(&EG(user_exception_handlers));