简单教程
提交运行
代码编辑器:
<?php $str = "Jane & 'Tarzan'"; echo html_entity_decode($str, ENT_COMPAT); echo "<br>"; echo html_entity_decode($str, ENT_QUOTES); echo "<br>"; echo html_entity_decode($str, ENT_NOQUOTES);
运行结果: