摘要:
$badword = array( '张三','张三丰','张三丰田' ); $badword1 = array_combine($badword,array_fill(0,count($badword),'*')); $bb = '我今天开着张三丰田上班'; $str = strtr($bb, $badword1); echo $str;... 阅读全文
posted @ 2017-08-22 16:43 陈达辉 阅读(1946) 评论(0) 推荐(0) 编辑