From 7e5ec2d7616ec1a2573b76d3222333cc36e4dd3c Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 2 May 2002 17:20:48 +0000 Subject: Initial support for built-in backtracing. There are still a few problems such as includes and calling other functions from internal functions which aren't seen (will have to think if and how to fix this). Also the main scripts filename isn't available. Need to think about that. --- Zend/zend_execute_API.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zend/zend_execute_API.c') diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 2787454590..e6ef99b114 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -174,6 +174,8 @@ void init_executor(TSRMLS_D) EG(main_class_ptr) = &CG(main_class); CG(main_class).static_members = &EG(symbol_table); + EG(current_execute_data) = NULL; + EG(This) = NULL; } -- cgit v1.2.1