summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-02-11 21:14:42 +0000
committerAndrei Zmievski <andrei@php.net>2000-02-11 21:14:42 +0000
commita60e91b31351146caa1d0a15ff60c9029ea8654f (patch)
treef3f8026c12959e9fb6f945095d62d0739de5df40 /main/php_globals.h
parent94be61fde5f580b305537b54df17b0257ed1378f (diff)
downloadphp-git-a60e91b31351146caa1d0a15ff60c9029ea8654f.tar.gz
(request_shutdown) Prevent infinite loop on shutdown if there is an error
in shutdown function. (php_array_walk) Print a warning if the walk function doesn't exist. Split shutdown function call into a separate function that's called with zend_hash_apply() instead of as destructor to keep hash consistent. This fixes bug #3419.
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index b6e086ced3..441ecec0d3 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -97,6 +97,7 @@ struct _php_core_globals {
long max_execution_time;
unsigned char header_is_being_sent;
+ zend_bool already_in_shutdown;
};