dmitry Fri Aug 5 05:35:09 2005 EDT
Modified files:
/php-src/tests/classes type_hinting_001.phpt
/php-src/tests/lang type_hints_001.phpt
Log:
Fixed bug #33996 (No information given for fatal error on passing invalid
value to typed argument)
http://cvs.php.net/diff.php/php-src/tests/classes/type_hinting_001.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/tests/classes/type_hinting_001.phpt
diff -u php-src/tests/classes/type_hinting_001.phpt:1.2
php-src/tests/classes/type_hinting_001.phpt:1.3
--- php-src/tests/classes/type_hinting_001.phpt:1.2 Mon Dec 22 17:50:00 2003
+++ php-src/tests/classes/type_hinting_001.phpt Fri Aug 5 05:35:09 2005
@@ -35,4 +35,4 @@
?>
--EXPECTF--
-Fatal error: Argument 1 must implement interface Foo in %s on line %d
+Fatal error: Argument 1 must implement interface Foo, called in %s on line 27
and defined in %s on line 12
http://cvs.php.net/diff.php/php-src/tests/lang/type_hints_001.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/tests/lang/type_hints_001.phpt
diff -u php-src/tests/lang/type_hints_001.phpt:1.2
php-src/tests/lang/type_hints_001.phpt:1.3
--- php-src/tests/lang/type_hints_001.phpt:1.2 Mon Dec 22 17:50:01 2003
+++ php-src/tests/lang/type_hints_001.phpt Fri Aug 5 05:35:09 2005
@@ -23,4 +23,4 @@
?>
--EXPECTF--
-Fatal error: Argument 1 must be an instance of Foo in %s on line %d
+Fatal error: Argument 1 must be an instance of Foo, called in %s on line 16
and defined in %s on line 9
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php