日期:2014-05-17 浏览次数:20399 次
class ABC{ public $name="TOM"; public function use(){ echo "This is void."; } } $obj = new ABC(); echo $obj->name; #TOM $obj->use(); #This is void.