From e9a6f0f24a1f8381e38fa4f16cfb27f04525527d Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Sat, 8 Mar 2008 22:12:32 +0000 Subject: MFH: User error handlers no longer catch supressed errors --- main/php.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'main/php.h') 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); -- cgit v1.2.1