From: Derick Rethans Date: Fri, 28 May 2004 08:08:56 +0000 (+0000) Subject: - Make the default mask for user defined error handlers include ALL errors, X-Git-Tag: php-5.0.0RC3RC2~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=877ecb3c81a4c88e00bfe529c2118970ca06e13a;p=php - Make the default mask for user defined error handlers include ALL errors, including E_STRICT. --- diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 3e9c72f0c0..20add93b7f 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -960,7 +960,7 @@ ZEND_FUNCTION(set_error_handler) zval *error_handler; zend_bool had_orig_error_handler=0; char *error_handler_name = NULL; - long error_type = E_ALL; + long error_type = E_ALL | E_STRICT; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &error_handler, &error_type) == FAILURE) { return;