]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-5.3' of ../php-5.3 into PHP-5.4
authorXinchen Hui <laruence@gmail.com>
Sat, 24 Mar 2012 07:15:27 +0000 (15:15 +0800)
committerXinchen Hui <laruence@gmail.com>
Sat, 24 Mar 2012 07:15:27 +0000 (15:15 +0800)
1  2 
Zend/zend_builtin_functions.c

index 29f9ed36bb2bd60548f7bb22ebb64d25c75cd598,c4a10fde3759ee5f158b6a03acb1336fdf6f39e1..f8d467478c7f53eb96fd520765b0f333a5824f28
@@@ -1512,9 -1413,8 +1512,8 @@@ ZEND_FUNCTION(trigger_error
  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;