summaryrefslogtreecommitdiff
path: root/tests/lang/bug24658.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug24658.phpt')
-rw-r--r--tests/lang/bug24658.phpt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/lang/bug24658.phpt b/tests/lang/bug24658.phpt
index 635eb8cd0c..236d8ed394 100644
--- a/tests/lang/bug24658.phpt
+++ b/tests/lang/bug24658.phpt
@@ -53,4 +53,9 @@ int(2)
object(foo)#%d (0) {
}
-Fatal error: Argument 1 passed to typehint() must be an instance of foo, integer given in %s on line %d
+Fatal error: Uncaught TypeException: Argument 1 passed to typehint() must be an instance of foo, integer given in %s:%d
+Stack trace:
+#0 [internal function]: typehint(1)
+#1 %s(%d): array_walk(Array, 'typehint')
+#2 {main}
+ thrown in %s on line %d