Non l'ho testata, vedi cosa ottieni

Codice PHP:
  
class prova {
    protected 
$_method null;
    
    function 
__call($method$arguments) {
      
$this->_method $method;
    }
    
    function 
func_A() {
            
        
$this->func_C("func_A");
                    
    }
    
    function 
func_B() {
        
        
$this->func_C("func_B");
        
    }
    
    function 
func_C() {
        print(
"func_C invoked from ".$this->method."
"
);
        
    }
    

Ciao