summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_022.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/closure_022.phpt')
-rw-r--r--Zend/tests/closure_022.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/closure_022.phpt b/Zend/tests/closure_022.phpt
index 70cc74177f..1d48e6683e 100644
--- a/Zend/tests/closure_022.phpt
+++ b/Zend/tests/closure_022.phpt
@@ -8,7 +8,7 @@ $foo = function() use ($a) {
$foo->a = 1;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Error' with message 'Closure object cannot have properties' in %sclosure_022.php:5
+Fatal error: Uncaught EngineException: Closure object cannot have properties in %sclosure_022.php:5
Stack trace:
#0 {main}
thrown in %sclosure_022.php on line 5