[PHP] debug_backtrace bug?

2004-11-17 Thread Thomas Peri
I wanted to run this past the list before submitting a bug report. (I've searched the bugs and haven't found anything relevant to my problem.) The problem is that when s method of one class is overridden in a subclass, debug_backtrace() doesn't distinguish between the two methods. For exampl

[PHP] determining caller of function

2004-11-24 Thread Thomas Peri
Is there a way, *other than using debug_backtrace(), which has a bug*, to determine from inside what class and method the current function was called? For example: class Foo { function fubar() { // I want to be able to determine that the function from which this // method was cal