码农教程
: php html_entity_decode() 函数实例
编辑代码
执行
"; echo html_entity_decode($str, ENT_QUOTES); // 转换双引号和单引号 echo "
"; echo html_entity_decode($str, ENT_NOQUOTES); // 不转换任何引号 ?>
结果: