summaryrefslogtreecommitdiff
path: root/Zend/tests/varSyntax/tempPropFetchByRefError.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/varSyntax/tempPropFetchByRefError.phpt')
-rw-r--r--Zend/tests/varSyntax/tempPropFetchByRefError.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zend/tests/varSyntax/tempPropFetchByRefError.phpt b/Zend/tests/varSyntax/tempPropFetchByRefError.phpt
index f8298a936d..8bcb9198e7 100644
--- a/Zend/tests/varSyntax/tempPropFetchByRefError.phpt
+++ b/Zend/tests/varSyntax/tempPropFetchByRefError.phpt
@@ -8,4 +8,7 @@ $fn([0, 1]->prop);
?>
--EXPECTF--
-Fatal error: Cannot use temporary expression in write context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use temporary expression in write context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d