Who are you?
Posted: Fri May 27, 2005 12:52 am
is there a function that can tell what function or class method called him. I want this for debugging.
I mean...
I see this in php debuggers and i want to 'get a hold of it'.
I mean...
Code: Select all
function foo(){
$function_name = getFunctionName(); // this I want
echo "I am inside $function_name";
}