function backtrace possible?
Posted: Wed May 28, 2008 11:45 am
Hello,
Is it possible to traceback recent functions? For example in lets assume that I run function A, B, then C. In function C is there a way to find out that function A and B werre previously run without setting any variables during their execution? I'm familiar with __FUNCTION__ but that only gives the current function (I believe).
There is also debug_backtrace() but that seems to just list the magic variables, thus only listing the current function.
Thanks for any help!
Is it possible to traceback recent functions? For example in lets assume that I run function A, B, then C. In function C is there a way to find out that function A and B werre previously run without setting any variables during their execution? I'm familiar with __FUNCTION__ but that only gives the current function (I believe).
There is also debug_backtrace() but that seems to just list the magic variables, thus only listing the current function.
Thanks for any help!