summaryrefslogtreecommitdiff
path: root/Zend/tests/add_007.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/add_007.phpt')
-rw-r--r--Zend/tests/add_007.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/add_007.phpt b/Zend/tests/add_007.phpt
index 2616196c90..66f5405706 100644
--- a/Zend/tests/add_007.phpt
+++ b/Zend/tests/add_007.phpt
@@ -9,7 +9,7 @@ $s1 = "some string";
try {
var_dump($a + $s1);
-} catch (EngineException $e) {
+} catch (Error $e) {
echo "\nException: " . $e->getMessage() . "\n";
}
@@ -21,7 +21,7 @@ echo "Done\n";
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
+Fatal error: Uncaught Error: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d