📜  php 从字符串中删除 nbsp - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:36.553000             🧑  作者: Mango

代码示例1
$string = htmlentities($content, null, 'utf-8');
$content = str_replace(" ", "", $string);
$content = html_entity_decode($content);