Change E_ALL to include E_STRICT

This commit is contained in:
Stanislav Malyshev 2011-07-23 22:07:22 +00:00
parent 48870107dc
commit 7bb8f9eecb
4 changed files with 19 additions and 19 deletions

View file

@ -1501,7 +1501,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 | E_STRICT;
long error_type = E_ALL;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &error_handler, &error_type) == FAILURE) {
return;