summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTimm Friebe <thekid@php.net>2005-02-06 14:08:11 +0000
committerTimm Friebe <thekid@php.net>2005-02-06 14:08:11 +0000
commit5eb673d1cb5bf585b3fb044eafff5f043fe88b6d (patch)
treed9d295f8a8533e38a1b57e4184b6cd210a63ba98 /ext
parentca250d16dc9560a375bc84d3a66fadd4f6c56662 (diff)
downloadphp-git-5eb673d1cb5bf585b3fb044eafff5f043fe88b6d.tar.gz
- Made error handler not output anything if error was not in error_reporting() mask
Diffstat (limited to 'ext')
-rw-r--r--ext/sybase_ct/tests/index.php1
1 files changed, 1 insertions, 0 deletions
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],