thinkphp3.1.2 使用Action 中使用$this对象提示系统错误
class CheckAction extends Action{
public function index(){
echo 'haha';
// $this->show('hehe');
// $this->display();
}
}这样能正常输出haha,如下图

但是使用$this之后就提示系统错误
class CheckAction extends Action{
public function index(){
// echo 'haha';
$this->display();
}
}