diff options
| author | Dmitry Stogov <dmitry@php.net> | 2005-08-05 09:35:09 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2005-08-05 09:35:09 +0000 |
| commit | 32d69c853a8a4710c623307e7bb2e3feb5a2f82e (patch) | |
| tree | c48feb353ed4aa2a03e9199a45d863606790235f /tests | |
| parent | 3982f722c2041866d7180c313bf16b93a61179a5 (diff) | |
| download | php-git-32d69c853a8a4710c623307e7bb2e3feb5a2f82e.tar.gz | |
Fixed bug #33996 (No information given for fatal error on passing invalid value to typed argument)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/classes/type_hinting_001.phpt | 2 | ||||
| -rw-r--r-- | tests/lang/type_hints_001.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
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 |
