PHP过滤换行的方法
<pre>
public function trimall($str)
{
$qian = array(" ", " ", "\t", "\n", "\r");
return str_replace($qian, '', $str);
}
</pre>
文章标签 php 公众号 javascript 文章分类 Java 后端开发
PHP过滤换行的方法
<pre>
public function trimall($str)
{
$qian = array(" ", " ", "\t", "\n", "\r");
return str_replace($qian, '', $str);
}
</pre>
下一篇:2.Track
快速部署内网DNS(AdGuard Home),实现广告过滤!
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M