diff options
Diffstat (limited to 'Zend/tests/add_003.phpt')
-rw-r--r-- | Zend/tests/add_003.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/add_003.phpt b/Zend/tests/add_003.phpt index 7a9391038c..a3705479e2 100644 --- a/Zend/tests/add_003.phpt +++ b/Zend/tests/add_003.phpt @@ -10,7 +10,7 @@ $o->prop = "value"; try { var_dump($o + $a); -} catch (EngineException $e) { +} catch (Error $e) { echo "\nException: " . $e->getMessage() . "\n"; } @@ -26,7 +26,7 @@ Exception: Unsupported operand types Notice: Object of class stdClass could not be converted to int in %s on line %d -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 |