diff options
Diffstat (limited to 'Zend/tests/bug42802.phpt')
-rw-r--r-- | Zend/tests/bug42802.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/bug42802.phpt b/Zend/tests/bug42802.phpt index ebfb528827..375d7f6b5b 100644 --- a/Zend/tests/bug42802.phpt +++ b/Zend/tests/bug42802.phpt @@ -8,7 +8,7 @@ class bar { } function test1(bar $bar) { - echo "ok\n"; + echo "ok\n"; } function test2(\foo\bar $bar) { @@ -18,7 +18,7 @@ function test3(\foo\bar $bar) { echo "ok\n"; } function test4(\Exception $e) { - echo "ok\n"; + echo "ok\n"; } function test5(\bar $bar) { echo "bug\n"; @@ -37,7 +37,7 @@ ok ok ok -Fatal error: Uncaught TypeError: Argument 1 passed to foo\test5() must be an instance of bar, instance of foo\bar given, called in %sbug42802.php on line %d and defined in %sbug42802.php:%d +Fatal error: Uncaught TypeError: foo\test5(): Argument #1 ($bar) must be of type bar, foo\bar given, called in %s:%d Stack trace: #0 %s(%d): foo\test5(Object(foo\bar)) #1 {main} |