summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/closure_005.phpt')
-rw-r--r--Zend/tests/closure_005.phpt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Zend/tests/closure_005.phpt b/Zend/tests/closure_005.phpt
index 4e32faa017..0143ac173c 100644
--- a/Zend/tests/closure_005.phpt
+++ b/Zend/tests/closure_005.phpt
@@ -71,4 +71,8 @@ echo "Done\n";
7
Destroyed
-Fatal error: Using $this when not in object context in %sclosure_005.php on line 28
+Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %sclosure_005.php:28
+Stack trace:
+#0 %s(%d): A::{closure}()
+#1 {main}
+ thrown in %sclosure_005.php on line 28