diff options
author | Marcus Boerger <helly@php.net> | 2003-08-29 00:22:36 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-08-29 00:22:36 +0000 |
commit | ab224612626fb083f6b0d3735cccc1ea47bad5e8 (patch) | |
tree | 5718136753b4066eed2449a56257bbd993acfc0e /main/php.h | |
parent | bdd2d4aacf053de59af24784cdcafd74fcb86d8b (diff) | |
download | php-git-ab224612626fb083f6b0d3735cccc1ea47bad5e8.tar.gz |
Add define to reset error handling more easily
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 ff2ef9ebb6..880c3c5a00 100644 --- a/main/php.h +++ b/main/php.h @@ -296,6 +296,7 @@ typedef enum { BEGIN_EXTERN_C(); PHPAPI void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC); +#define php_std_error_handling() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args TSRMLS_DC) PHP_ATTRIBUTE_FORMAT(printf, 4, 0); |