diff options
author | Etienne Kneuss <colder@php.net> | 2008-03-08 22:12:32 +0000 |
---|---|---|
committer | Etienne Kneuss <colder@php.net> | 2008-03-08 22:12:32 +0000 |
commit | e9a6f0f24a1f8381e38fa4f16cfb27f04525527d (patch) | |
tree | e22b95da00ab4dbaa2a92c00af486b4fb63848e4 /main/php.h | |
parent | fd0d44f0a78bf528cc780b1fd5036e390de19a22 (diff) | |
download | php-git-e9a6f0f24a1f8381e38fa4f16cfb27f04525527d.tar.gz |
MFH: User error handlers no longer catch supressed errors
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/main/php.h b/main/php.h index 65dd2419fe..5c51d86f66 100644 --- a/main/php.h +++ b/main/php.h @@ -278,12 +278,7 @@ int cfgparse(void); END_EXTERN_C() #define php_error zend_error - -typedef enum { - EH_NORMAL = 0, - EH_SUPPRESS, - EH_THROW -} error_handling_t; +#define error_handling_t zend_error_handling_t BEGIN_EXTERN_C() PHPAPI void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC); |