how to find what file/object/line is calling a method?
Posted: Fri Sep 04, 2009 9:27 am
Some process is calling a method in a class, and I'm not sure which one it is. Is there a way to find out what exactly is running the method?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Quite useful! Wasn't aware of this function... even though I'm not the OP, thank youMark Baker wrote:have a look at debug_backtrace()