diff options
author | Xinchen Hui <laruence@php.net> | 2013-02-07 23:44:46 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2013-02-07 23:44:46 +0800 |
commit | 290509755ac4a3279b2b31b899aa9f2dd780f5f4 (patch) | |
tree | 025d71d99e8160b361ac029c56501d88e7dc9705 /Zend/tests/bug61767.phpt | |
parent | 0547a36e95ec36025a30e93e971d26b6b1ecf0e9 (diff) | |
download | php-git-290509755ac4a3279b2b31b899aa9f2dd780f5f4.tar.gz |
Fixed bug #64135 (Exceptions from set_error_handler are not always propagated)
Diffstat (limited to 'Zend/tests/bug61767.phpt')
-rw-r--r-- | Zend/tests/bug61767.phpt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Zend/tests/bug61767.phpt b/Zend/tests/bug61767.phpt index 5270872e5d..9bd9c907bd 100644 --- a/Zend/tests/bug61767.phpt +++ b/Zend/tests/bug61767.phpt @@ -17,18 +17,16 @@ $undefined->foo(); --EXPECTF-- Error handler called (Undefined variable: undefined) -Warning: Uncaught exception 'ErrorException' with message 'Undefined variable: undefined' in %sbug61767.php:13 +Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: undefined' in %sbug61767.php:%d Stack trace: -#0 %sbug61767.php(13): {closure}(8, 'Undefined varia...', '%s', 13, Array) +#0 %sbug61767.php(%d): {closure}(%s, 'Undefined varia...', '%s', %d, Array) #1 {main} - thrown in %sbug61767.php on line 13 - -Fatal error: Call to a member function foo() on a non-object in %sbug61767.php on line 13 + thrown in %sbug61767.php on line %d Shutting down Array ( [type] => 1 - [message] => Call to a member function foo() on a non-object + [message] => %a [file] => %sbug61767.php - [line] => 13 + [line] => %d ) |