標(biāo)題1
標(biāo)題2
標(biāo)題3
這是標(biāo)題4
列表
無序列表
*1
*2
*3
有序列表
- 1
- 2
- 3
引用
這里是引用
鏈接與圖片

baidu
粗體與斜體
這是粗體
這是斜體
代碼框
//$this->setBadWordCache(true);
if(!iset($badword)) return false;
if($badword){
$bds = cache('BadWordCache');
if(!$bds){
$bds = $this->setBadWordCache();
}
// $badlist="/".implode("|",$bds)."/i";
// if(preg_match($badlist, $badword, $matches)){
// return true;
// }
foreach($bds as $bd){
if(preg_match("/".$badword."/i", $bd, $matches)){
return true;
}
}
}
return false;
}```