目錄
class News{ public function __construct(){ } public function add(){ echo __FUNCTION__; } } $news = new News(); $news->add();