thekid Sun Feb 6 09:08:12 2005 EDT
Modified files:
/php-src/ext/sybase_ct/tests index.php
Log:
- Made error handler not output anything if error was not in
error_reporting() mask
http://cvs.php.net/diff.php/php-src/ext/sybase_ct/tests/index.php?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/sybase_ct/tests/index.php
diff -u php-src/ext/sybase_ct/tests/index.php:1.2
php-src/ext/sybase_ct/tests/index.php:1.3
--- php-src/ext/sybase_ct/tests/index.php:1.2 Sun Feb 6 09:06:21 2005
+++ php-src/ext/sybase_ct/tests/index.php Sun Feb 6 09:08:11 2005
@@ -1,7 +1,7 @@
<?php
/* This file is part of PHP test framework for ext/sybase_ct
*
- * $Id: index.php,v 1.2 2005/02/06 14:06:21 thekid Exp $
+ * $Id: index.php,v 1.3 2005/02/06 14:08:11 thekid Exp $
*/
// {{{ class PHPTExpectancy
@@ -80,6 +80,7 @@
E_WARNING => 'Warning'
);
+ if (!(error_reporting() & $errno)) return;
printf(
"\n%s: %s in %s on line %d\n",
$names[$errno],
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php