From: kills at online dot de Operating system: Irrelevant PHP version: 5.2.1 PHP Bug Type: Feature/Change Request Bug description: additional param for debug_backtrace
Description: ------------ http://de3.php.net/debug_backtrace its very common to use debug_backtrace for getting the caller of the current function/method. the only information which is needed is the next upper level of the trace. In my opinion it would be perfect to have an parameter which determines, how many levels of the backtrace are necessary for me. e.g. debug_backtrace(1) for only the next upper level of information, this would also improve speed and efficiency of the function. -- Edit bug report at http://bugs.php.net/?id=40827&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40827&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40827&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40827&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40827&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40827&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40827&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40827&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40827&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40827&r=support Expected behavior: http://bugs.php.net/fix.php?id=40827&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40827&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40827&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40827&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40827&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40827&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40827&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40827&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40827&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40827&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40827&r=mysqlcfg
