|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-10-25 12:54 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 05:00:01 2025 UTC |
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 ) )