这是我的代码:
它应该输出 "It",但实际上只输出了ASCII码。我是否使用了错误的函数?我还尝试了htmlspecialchars_decode,但没有任何变化。
$string = 'It';
$string = html_entity_decode($string);
echo $string;
它应该输出 "It",但实际上只输出了ASCII码。我是否使用了错误的函数?我还尝试了htmlspecialchars_decode,但没有任何变化。