ID: 40456 Updated by: [EMAIL PROTECTED] Reported By: zeldign at zeldign dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: CentOS 4.4 PHP Version: 5.2.1 New Comment:
Do not file bugs when you have Zend extensions (zend_extension=) loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache, APC, Xdebug and ionCube loader. These extensions often modify engine behavior which is not related to PHP itself. Previous Comments: ------------------------------------------------------------------------ [2007-02-13 08:22:13] zeldign at zeldign dot com 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? ------------------------------------------------------------------------ [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