diff options
Diffstat (limited to 'Zend/tests/div_002.phpt')
-rw-r--r-- | Zend/tests/div_002.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/div_002.phpt b/Zend/tests/div_002.phpt index 34f377e229..bf5d512a65 100644 --- a/Zend/tests/div_002.phpt +++ b/Zend/tests/div_002.phpt @@ -8,7 +8,7 @@ $b = array(1); try { var_dump($a / $b); -} catch (EngineException $e) { +} catch (Error $e) { echo "\nException: " . $e->getMessage() . "\n"; } @@ -20,7 +20,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 |