summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_039.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/closure_039.phpt')
-rw-r--r--Zend/tests/closure_039.phpt16
1 files changed, 15 insertions, 1 deletions
diff --git a/Zend/tests/closure_039.phpt b/Zend/tests/closure_039.phpt
index c6a727c0fa..9e5ecbd21b 100644
--- a/Zend/tests/closure_039.phpt
+++ b/Zend/tests/closure_039.phpt
@@ -55,4 +55,18 @@ Testing with scope as string
int(23)
int(24)
-Fatal error: Cannot access private property B::$x in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Stack trace:
+#0 %s(%d): Closure->{closure}()
+#1 {main}
+
+Next exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Stack trace:
+#0 %s(%d): Closure->{closure}()
+#1 {main}
+
+Next exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Stack trace:
+#0 %s(%d): Closure->{closure}()
+#1 {main}
+ thrown in %s on line %d