summaryrefslogtreecommitdiff
path: root/Zend/tests/clone_003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/clone_003.phpt')
-rw-r--r--Zend/tests/clone_003.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zend/tests/clone_003.phpt b/Zend/tests/clone_003.phpt
index 362e3466e6..4a97c565b1 100644
--- a/Zend/tests/clone_003.phpt
+++ b/Zend/tests/clone_003.phpt
@@ -9,4 +9,7 @@ $a = clone $b;
--EXPECTF--
Notice: Undefined variable: b in %s on line %d
-Fatal error: __clone method called on non-object in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d