ID: 40456 User updated by: zeldign at zeldign dot com Reported By: zeldign at zeldign dot com Status: Open Bug Type: Scripting Engine problem Operating System: CentOS 4.4 PHP Version: 5.2.1 New Comment:
Yes . Use together with and is using eaccelerator coming zend optimizer present. Is established to be loaded all by zend_extension Eu, is it related with it? Previous Comments: ------------------------------------------------------------------------ [2007-02-13 06:28:09] judas dot iscariote at gmail dot com works perfectly fine here, do you have any zend_extension loaded ? APC, eaccelerator, Zend optimizer..or whatever? ------------------------------------------------------------------------ [2007-02-13 03:26:31] zeldign at zeldign dot com Description: ------------ php5.2.0 -> caught exception php5.2.1 -> Uncaught exception Reproduce code: --------------- <? class a extends exception { function __construct() { } } try{ throw new a; } catch (Exception $e) { // Will be caught echo "Caught Default Exception\n", $e; } ?> Expected result: ---------------- Caught Default Exception exception 'a' in /home/company/solution/public_html/info.php:11 Stack trace: #0 {main} Actual result: -------------- Fatal error: Uncaught exception 'a' in /home/company/igearmall/public_html/info.php:11 Stack trace: #0 {main} thrown in /home/company/igearmall/public_html/info.php on line 11 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40456&edit=1