diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2015-05-16 16:49:14 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2015-05-16 16:49:14 -0500 |
commit | 64b167d201e567ec213b5aa37c66536621835331 (patch) | |
tree | 272d6f3951625ef7bc82eba08bad64aef9b883d2 /Zend/tests/constant_expressions_exceptions_002.phpt | |
parent | d042d0880796cfe99262bb6fa44225e984c63ace (diff) | |
download | php-git-64b167d201e567ec213b5aa37c66536621835331.tar.gz |
Updated tests to reflect exception class changes.
Diffstat (limited to 'Zend/tests/constant_expressions_exceptions_002.phpt')
-rw-r--r-- | Zend/tests/constant_expressions_exceptions_002.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/constant_expressions_exceptions_002.phpt b/Zend/tests/constant_expressions_exceptions_002.phpt index 3259483197..fc15af5e9a 100644 --- a/Zend/tests/constant_expressions_exceptions_002.phpt +++ b/Zend/tests/constant_expressions_exceptions_002.phpt @@ -4,7 +4,7 @@ Constant Expressions with unsupported operands 002 <?php try { require("constant_expressions_exceptions.inc"); -} catch (EngineException $e) { +} catch (Error $e) { echo "\nException: " . $e->getMessage() . " in " , $e->getFile() . " on line " . $e->getLine() . "\n"; } ?> |