thekid Sun Feb 6 09:06:25 2005 EDT
Modified files:
/php-src/ext/sybase_ct/tests index.php
Log:
- Fixed error handler for situations in which an error
was raised in an include file
http://cvs.php.net/diff.php/php-src/ext/sybase_ct/tests/index.php?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/sybase_ct/tests/index.php
diff -u php-src/ext/sybase_ct/tests/index.php:1.1
php-src/ext/sybase_ct/tests/index.php:1.2
--- php-src/ext/sybase_ct/tests/index.php:1.1 Sun Feb 6 08:35:09 2005
+++ php-src/ext/sybase_ct/tests/index.php Sun Feb 6 09:06:21 2005
@@ -1,7 +1,7 @@
<?php
/* This file is part of PHP test framework for ext/sybase_ct
*
- * $Id: index.php,v 1.1 2005/02/06 13:35:09 thekid Exp $
+ * $Id: index.php,v 1.2 2005/02/06 14:06:21 thekid Exp $
*/
// {{{ class PHPTExpectancy
@@ -84,7 +84,7 @@
"\n%s: %s in %s on line %d\n",
$names[$errno],
$errstr,
- $this->name,
+ strstr($errfile, 'eval()\'d code') ? $this->name : $errfile,
$errline
);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php