summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-07-12 18:10:56 +0000
committerAntony Dovgal <tony2001@php.net>2006-07-12 18:10:56 +0000
commit9d576212356b0d0d1df1ffff2b4ee9e800b6bba0 (patch)
treee2da33a2c0eb876c8822f714c3cd5bde9cd39f28 /Zend/zend.c
parent33dbaff1edb39decf988a018a7038e617291523c (diff)
downloadphp-git-9d576212356b0d0d1df1ffff2b4ee9e800b6bba0.tar.gz
MFH: initialize EG(exit_status) in ZTS mode
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index 2604bd7d43..86c9c57b88 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -503,6 +503,7 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals TSRMLS
EG(in_autoload) = NULL;
EG(current_execute_data) = NULL;
EG(current_module) = NULL;
+ EG(exit_status) = 0;
}