diff options
author | Joe Watkins <krakjoe@php.net> | 2019-01-31 07:11:18 +0100 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2019-01-31 07:11:18 +0100 |
commit | 839bdf12ee476ceeb9b0d71696e6e1fc3c14197c (patch) | |
tree | 4ca74626b176018ec7776894775e03c1b2dab20d /tests | |
parent | 4e0dd6b0edb2aaaa62efcfbd94a7fb0276d9b013 (diff) | |
parent | abd36289e26cc0365e82373699aba4c1ffff464d (diff) | |
download | php-git-839bdf12ee476ceeb9b0d71696e6e1fc3c14197c.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Don't silence fatal errors with @
Diffstat (limited to 'tests')
-rw-r--r-- | tests/output/ob_implicit_flush_variation_001.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/output/ob_implicit_flush_variation_001.phpt b/tests/output/ob_implicit_flush_variation_001.phpt index d6d3a45e01..0677ba10af 100644 --- a/tests/output/ob_implicit_flush_variation_001.phpt +++ b/tests/output/ob_implicit_flush_variation_001.phpt @@ -14,7 +14,7 @@ echo "*** Testing ob_implicit_flush() : usage variation ***\n"; // Define error handler function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { - if (error_reporting() != 0) { + if (error_reporting() & $err_no) { // report non-silenced errors echo "Error: $err_no - $err_msg, $filename($linenum)\n"; } |