From: Timm Friebe Date: Sun, 6 Feb 2005 14:08:11 +0000 (+0000) Subject: - Made error handler not output anything if error was not in error_reporting() mask X-Git-Tag: RELEASE_0_2~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5eb673d1cb5bf585b3fb044eafff5f043fe88b6d;p=php - Made error handler not output anything if error was not in error_reporting() mask --- diff --git a/ext/sybase_ct/tests/index.php b/ext/sybase_ct/tests/index.php index e7c8e6aacd..47202efa3b 100644 --- a/ext/sybase_ct/tests/index.php +++ b/ext/sybase_ct/tests/index.php @@ -80,6 +80,7 @@ E_WARNING => 'Warning' ); + if (!(error_reporting() & $errno)) return; printf( "\n%s: %s in %s on line %d\n", $names[$errno],