summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorJim Zubov <jim@commercebyte.com>2017-02-09 12:40:33 -0500
committerJim Zubov <jim@commercebyte.com>2017-02-09 12:40:33 -0500
commit1b1399c95d1358b23f234c14e84dda9b5007904e (patch)
tree3e2f20f97a39cfbaa296cf35d45b0ae9462c6aeb /Zend/zend.c
parentf9afc6aabc8af2da5874b32e11f9e4cca722c079 (diff)
downloadphp-git-1b1399c95d1358b23f234c14e84dda9b5007904e.tar.gz
Added EG(flags) - executor global flags
EG_FLAGS_IN_SHUTDOWN - is set when PHP is in shutdown state
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 bcbca562b1..c5236ba7ea 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -648,6 +648,7 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals) /* {{
#ifdef ZEND_WIN32
zend_get_windows_version_info(&executor_globals->windows_version_info);
#endif
+ executor_globals->flags = EG_FLAGS_INITIAL;
}
/* }}} */