Sunday, October 24, 2010

Get Function Name

Is there a way to get the name of the function making the call?

 

Example

 

function_one() {

 

     //$caller = this function name (function_one)

 

     function_two(  $caller );

 

 

}

No comments: