首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
php去除html标签
php去除html标签
mac
2022-06-30
19
function
cutstr_html(
$string
){
$string
=
strip_tags
(
$string
);
$string = preg_replace([
"\t", "\r\n", "\r", "\n", " "], [], $string);
return
trim
(
$string
); }
转载于:https://www.cnblogs.com/init-007/p/11449539.html
转载请注明原文地址: https://mac.8miu.com/read-69215.html
最新回复
(
0
)