ID: 44148 Updated by: [EMAIL PROTECTED] Reported By: cool_lim_lp at yahoo dot com dot sg -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: irrelevant PHP Version: 5.2.5 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 That's a performance consideration, we don't have to do a class lookup nd don't need to trigger __autoload in that case. Previous Comments: ------------------------------------------------------------------------ [2008-02-18 12:19:40] cool_lim_lp at yahoo dot com dot sg Description: ------------ i don't know whether it is a bug or not. Look at the sample code given. Reproduce code: --------------- try { throw new Exception('test'); } catch (NonExistent $e) { // the above class is non-existent but PHP doesn't give a warning or error } catch (Exception $e) { // exception caught here } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44148&edit=1
