summaryrefslogtreecommitdiff
path: root/tests/classes/static_properties_undeclared_assign.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/static_properties_undeclared_assign.phpt')
-rw-r--r--tests/classes/static_properties_undeclared_assign.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/classes/static_properties_undeclared_assign.phpt b/tests/classes/static_properties_undeclared_assign.phpt
index aed65797b4..d2918fa509 100644
--- a/tests/classes/static_properties_undeclared_assign.phpt
+++ b/tests/classes/static_properties_undeclared_assign.phpt
@@ -6,4 +6,7 @@ Class C {}
C::$p = 1;
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: C::$p in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$p' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3