ID:               40827
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kills at online dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Feature/Change Request
 Operating System: Irrelevant
 PHP Version:      5.2.1
 New Comment:

How is that different from a three-line function operating on the
result array of debug_backtrace() ?


Previous Comments:
------------------------------------------------------------------------

[2007-03-15 18:58:18] kills at online dot de

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 this bug report at http://bugs.php.net/?id=40827&edit=1

Reply via email to