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/methods-on-non-objects-catch.phpt | |
| parent | d042d0880796cfe99262bb6fa44225e984c63ace (diff) | |
| download | php-git-64b167d201e567ec213b5aa37c66536621835331.tar.gz | |
Updated tests to reflect exception class changes.
Diffstat (limited to 'Zend/tests/methods-on-non-objects-catch.phpt')
| -rw-r--r-- | Zend/tests/methods-on-non-objects-catch.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/methods-on-non-objects-catch.phpt b/Zend/tests/methods-on-non-objects-catch.phpt index 5e946161c1..2082433181 100644 --- a/Zend/tests/methods-on-non-objects-catch.phpt +++ b/Zend/tests/methods-on-non-objects-catch.phpt @@ -9,7 +9,7 @@ set_error_handler(function($code, $message) { $x= null; try { var_dump($x->method()); -} catch (EngineException $e) { +} catch (Error $e) { var_dump($e->getCode(), $e->getMessage()); } echo "Alive\n"; |
