From: ceefour at gauldong dot net
Operating system: All
PHP version: 5.0.3
PHP Bug Type: Zend Engine 2 problem
Bug description: Exception in unknown on line 0 when throwing exception inside
exception handler
Description:
------------
When an exception is thrown inside an exception handler, a "exception
thrown without stack frame in unknown on line 0" message is displayed.
While the meaning of this message is "clear" enough... it doesn't help at
all.
If you trigger_error() inside an error handler, the default error handler
is triggered, but still showing meaningful/helpful error message.
Exceptions inside exception handler should behave similarly.
Reproduce code:
---------------
// do this inside an exception handler function
throw new Exception('test');
Expected result:
----------------
...file something.php on line 483...
Actual result:
--------------
...unknown on line 0....
--
Edit bug report at http://bugs.php.net/?id=32101&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32101&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=32101&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=32101&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32101&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32101&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32101&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32101&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32101&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32101&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32101&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=32101&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=32101&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32101&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32101&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32101&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32101&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32101&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32101&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32101&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32101&r=mysqlcfg