PHP中this语句的用法

this是指向当前对象的指针 [php]  view plain  copy  print ? <?php      class human{              public $name="李四";              public function eat(){                echo $this->name,'在吃饭';       }              
相关文章
相关标签/搜索