diff options
author | Thies C. Arntzen <thies@php.net> | 2000-01-15 13:02:54 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-01-15 13:02:54 +0000 |
commit | 3ff75e5b8bf20fa1cba1a15b73a2c19cc5dd9f2d (patch) | |
tree | a19bf6b1a22617c8d5bdb87620775046ccacf79b /main/php.h | |
parent | e078a04fd0b344829ed7a9e83c318fe7bbcb8a15 (diff) | |
download | php-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.h')
-rw-r--r-- | main/php.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index 804ed494cb..5f7dfc7c46 100644 --- a/main/php.h +++ b/main/php.h @@ -320,6 +320,7 @@ int mergesort(void *base, size_t nmemb, register size_t size, int (*cmp) (const extern PHPAPI int _php_error_log(int opt_err,char *message,char *opt,char *headers); PHPAPI void php_register_post_request_startup(void (*func)(void *), void *userdata); +PHPAPI void php_register_pre_request_shutdown(void (*func)(void *), void *userdata); PHPAPI int cfg_get_long(char *varname, long *result); PHPAPI int cfg_get_double(char *varname, double *result); |