如何将html数字字符引用转换为字符?(How to convert html numeric character references to chars?)
我有这个: [ «» ] 我怎么能把它转换为[ «» ] ? 这有一个PHP功能吗?
I have this: [ «» ] how i can convert it to [ «» ]? Is there a php function for this?
最满意答案
我不明白你的值是否需要在数组中,
如果它们只是变量,你可以这样做:
<?php $from = "«»"; $to = html_entity_decode($from); print($to);i didn't understand if your values need to be in array or not,
If they are just variables you could do this:
<?php $from = "«»"; $to = html_entity_decode($from); print($to);更多推荐
发布评论