【发布时间】:2011-05-20 16:24:55
【问题描述】:
$this和self::有什么区别
示例:
class Object{
public $property;
function doSomething(){
// This
$something = $this->property;
// Self
$something = self::property;
...code...
}
}
【问题讨论】: