summaryrefslogtreecommitdiff
path: root/src/snuffleupagus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/snuffleupagus.c')
-rw-r--r--src/snuffleupagus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c
index dab5dca..d2f81ff 100644
--- a/src/snuffleupagus.c
+++ b/src/snuffleupagus.c
@@ -251,6 +251,8 @@ static PHP_GSHUTDOWN_FUNCTION(snuffleupagus) {
251} 251}
252 252
253PHP_RINIT_FUNCTION(snuffleupagus) { 253PHP_RINIT_FUNCTION(snuffleupagus) {
254 SNUFFLEUPAGUS_G(execution_depth) = 0;
255
254 const sp_config_wrapper *const config_wrapper = 256 const sp_config_wrapper *const config_wrapper =
255 SNUFFLEUPAGUS_G(config).config_wrapper; 257 SNUFFLEUPAGUS_G(config).config_wrapper;
256#if defined(COMPILE_DL_SNUFFLEUPAGUS) && defined(ZTS) 258#if defined(COMPILE_DL_SNUFFLEUPAGUS) && defined(ZTS)