diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-06-29 00:57:49 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-06-29 01:00:12 +0200 |
commit | 79b1832dd5086cd9b4a2e778a62f1743b548726c (patch) | |
tree | b052f412beac1357ee5b6c5182ed21b8970057ac /Zend/tests/mod_001.phpt | |
parent | e5fae77969c4f7879c0f7e805c267a1448aef922 (diff) | |
download | php-git-79b1832dd5086cd9b4a2e778a62f1743b548726c.tar.gz |
Fixed last previously broken tests
Diffstat (limited to 'Zend/tests/mod_001.phpt')
-rw-r--r-- | Zend/tests/mod_001.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/mod_001.phpt b/Zend/tests/mod_001.phpt index 8dda405abf..d3388b8a3a 100644 --- a/Zend/tests/mod_001.phpt +++ b/Zend/tests/mod_001.phpt @@ -9,12 +9,12 @@ $b = array(); try { $c = $a % $b; var_dump($c); -} catch (Exception $e) { - echo "Exception: " . $e->getMessage() . "\n"; +} catch (Error $e) { + echo "Error: " . $e->getMessage() . "\n"; } echo "Done\n"; ?> --EXPECTF-- -Exception: Division by zero +Error: Modulo by zero Done |