php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #40827 additional param for debug_backtrace
Submitted: 2007-03-15 18:58 UTC Modified: 2007-03-23 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: kills at online dot de Assigned:
Status: No Feedback Package: Feature/Change Request
PHP Version: 5.2.1 OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kills at online dot de
New email:
PHP Version: OS:

 

 [2007-03-15 18:58 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-15 19:14 UTC] tony2001@php.net
How is that different from a three-line function operating on the result array of debug_backtrace() ?
 [2007-03-23 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 05:01:35 2024 UTC