diff options
| author | Stanislav Malyshev <stas@php.net> | 2011-01-16 21:24:43 +0000 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2011-01-16 21:24:43 +0000 |
| commit | ff4982784a53f02b08b1b2cade9dff6e46977eca (patch) | |
| tree | a64319e7ad067aafb2631c26ec54c1dd8dcded14 /Zend/tests/exception_handler_002.phpt | |
| parent | 3a3f3696788c8af3ee19bade368197561fb7df78 (diff) | |
| download | php-git-ff4982784a53f02b08b1b2cade9dff6e46977eca.tar.gz | |
Fix bug #47143, bug #51458 - provide more useful info in bad exception cases
Diffstat (limited to 'Zend/tests/exception_handler_002.phpt')
| -rw-r--r-- | Zend/tests/exception_handler_002.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Zend/tests/exception_handler_002.phpt b/Zend/tests/exception_handler_002.phpt index 3e0e4f00dd..7dfbb38fd1 100644 --- a/Zend/tests/exception_handler_002.phpt +++ b/Zend/tests/exception_handler_002.phpt @@ -20,4 +20,8 @@ echo "Done\n"; --EXPECTF-- string(12) "test thrown!" -Fatal error: Exception thrown without a stack frame in Unknown on line 0 +Fatal error: Uncaught exception 'Exception' in %sexception_handler_002.php:7 +Stack trace: +#0 [internal function]: foo(Object(test)) +#1 {main} + thrown in %sexception_handler_002.php on line %d |
