記錄輸出 簡潔版
public function actionViews() ? ?{$data['hello'] = '"how do you chinese food? very much,chinese food is awesome."';$data['string'] = [1,32]; $data['xss'] = "
"; ? ?return $this->renderPartial('views',$data); ? ? ? ?//return $this->render('views',$data); 公共頭部和底部會被渲染出來 ? ?}
2018-03-09
平臺提供了這么好的代碼工具為什么不用呢?