[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

Re: [PHP] determining caller of function

2004-11-24 Thread Raditha Dissanayake
Thomas Peri wrote: 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: you could try xdebug. -- Raditha Dissanayake.