php preg_match 过滤字符时间:2023-03-09 03:55:23 $f = preg_match("/g3watches/",$date[0]['desc']); if ($f='1') { $this->error(L('不好意思,输入有误')); exit; }