summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-01-15 13:02:54 +0000
committerThies C. Arntzen <thies@php.net>2000-01-15 13:02:54 +0000
commit3ff75e5b8bf20fa1cba1a15b73a2c19cc5dd9f2d (patch)
treea19bf6b1a22617c8d5bdb87620775046ccacf79b /main/php_globals.h
parente078a04fd0b344829ed7a9e83c318fe7bbcb8a15 (diff)
downloadphp-git-3ff75e5b8bf20fa1cba1a15b73a2c19cc5dd9f2d.tar.gz
- don't set php_errormsg on errors that will cause a zend_bailout().
using zend_hash_update() can make things worse in this situation. - new function php_register_pre_request_shutdown(). this way modules can register callbacks that will be called as soon as execution of the script is done but *before* any cleanup (global symbol_table etc) has taken place.
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index b944bbc5d1..a638fb280e 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -97,13 +97,14 @@ struct _php_core_globals {
unsigned char header_is_being_sent;
zend_llist ll_post_request_startup;
+ zend_llist ll_pre_request_shutdown;
};
typedef struct {
void (*func)(void *);
void *userdata;
-} php_post_request_startup;
+} php_request_hook;
#endif /* _PHP_GLOBALS_H */