class A{ 
    var $company=null; 
    function A(){ 
        $this->company =  new Company(); 
    } 
    function showMethod(){ 
    $this->company-> 
    } 
} 去掉&就弹出来了,呵呵.