summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-05-02 17:20:48 +0000
committerAndi Gutmans <andi@php.net>2002-05-02 17:20:48 +0000
commit7e5ec2d7616ec1a2573b76d3222333cc36e4dd3c (patch)
treec8299fa894c60b04e7b981992c041526fca3b2ce /Zend/zend_execute_API.c
parent7a64b2b7e54f437381366895d7c38f7d7a54671a (diff)
downloadphp-git-7e5ec2d7616ec1a2573b76d3222333cc36e4dd3c.tar.gz
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.
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 2 insertions, 0 deletions
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;
}