1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 21:22:13 +02:00

- Make the default mask for user defined error handlers include ALL errors,

including E_STRICT.
This commit is contained in:
Derick Rethans
2004-05-28 08:08:56 +00:00
parent 7489718769
commit 877ecb3c81

View File

@@ -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;