Name and parameters of parent function
        Posted  
        
            by zaf
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by zaf
        
        
        
        Published on 2010-05-11T14:58:42Z
        Indexed on 
            2010/05/11
            15:04 UTC
        
        
        Read the original article
        Hit count: 280
        
I'm trying to figure out how to get the name and parameters of a parent function.
Example:
function foo($a,$b){
  bar();
}
function bar(){
  // Magic Print
}
foo('hello', 'world');
Output:
foo('hello','world')
Any tips?
© Stack Overflow or respective owner