ID: 39253 Updated by: [EMAIL PROTECTED] Reported By: programmando at gmail dot com -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: Ubuntu Dapper Drake PHP Version: 5.1.6 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. We don't support Zend's extensions. Previous Comments: ------------------------------------------------------------------------ [2006-10-25 12:50:57] programmando at gmail dot com Description: ------------ After a debug_backtrace() the result array doesn't have 'object' entry if Zend Optimizer (3.0.1 in this case) is enabled. Turn off Zend Optimizer and 'object' appear. (I've asked on Zend Optimizer forum also, I don't know if a php related problem) Reproduce code: --------------- $traces = debug_backtrace(); print_r($traces); Expected result: ---------------- [1] => Array ( [file] => /var/www/symfony/lib/controller/sfFrontWebController.class.php [line] => 48 [function] => forward [class] => sfController [type] => -> [args] => Array ( [0] => story [1] => index ) ) Actual result: -------------- [1] => Array ( [file] => /var/www/symfony/lib/controller/sfFrontWebController.class.php [line] => 48 [function] => forward [class] => sfController [type] => -> [object] => !!!!!!!!!!!!!!!!!!! [args] => Array ( [0] => story [1] => index ) ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39253&edit=1