php去除html标签
function cutstr_html($string){ $string = strip_tags($string);
$string = preg_replace(["\t", "\r\n", "\r", "\n", " "], [], $string);
return trim($string);
}
function cutstr_html($string){ $string = strip_tags($string);
$string = preg_replace(["\t", "\r\n", "\r", "\n", " "], [], $string);
return trim($string);
}