summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_038.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/closure_038.phpt')
-rw-r--r--Zend/tests/closure_038.phpt16
1 files changed, 15 insertions, 1 deletions
diff --git a/Zend/tests/closure_038.phpt b/Zend/tests/closure_038.phpt
index fef0734786..b1e9406872 100644
--- a/Zend/tests/closure_038.phpt
+++ b/Zend/tests/closure_038.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