ID: 42572 Updated by: [EMAIL PROTECTED] Reported By: lgynove at 163 dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: windows xp PHP Version: 5.2.4 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You can't throw an exception from an exception handler. Previous Comments: ------------------------------------------------------------------------ [2007-09-06 04:36:17] lgynove at 163 dot com Description: ------------ run it then you see... Reproduce code: --------------- <?php function a() { b(); } function b() { throw new Exception(''); } set_exception_handler('a'); throw new Exception(''); Expected result: ---------------- run it then you see... Actual result: -------------- run it then you see... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42572&edit=1