Hmm... I've been wondering if a function to do this exists too... would be
REALLY handing for debugging!!
From: Stefan Rusterholz [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 8:35 PM
Subject: [PHP] How to get a function backtrace?
Im not sure if "function-backtrace" is the correct word for what I need, so
If I have for example
$x = function_backtrace();
then I want to get
 => 'a',
 => 'b',
 => 'c'
or something similar. So I want to know, what functions have been called. If
you know perl, then adequate function was "caller".
I already searched php.net for it but had no luck for it - so if you please
could point me to the right direction I was very happy.