From 32d69c853a8a4710c623307e7bb2e3feb5a2f82e Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 5 Aug 2005 09:35:09 +0000 Subject: Fixed bug #33996 (No information given for fatal error on passing invalid value to typed argument) --- tests/classes/type_hinting_001.phpt | 2 +- tests/lang/type_hints_001.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/classes/type_hinting_001.phpt b/tests/classes/type_hinting_001.phpt index d4042a496d..c46e420ab6 100644 --- a/tests/classes/type_hinting_001.phpt +++ b/tests/classes/type_hinting_001.phpt @@ -35,4 +35,4 @@ $a->b($b); ?> --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 diff --git a/tests/lang/type_hints_001.phpt b/tests/lang/type_hints_001.phpt index 99b7fac0eb..2aea3e703e 100644 --- a/tests/lang/type_hints_001.phpt +++ b/tests/lang/type_hints_001.phpt @@ -23,4 +23,4 @@ type_hint_foo($bar); ?> --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 -- cgit v1.2.1