php怎么把 \u767e\u79d1id\u4e0d\u6b63\u786e转化成汉字?

具体转化代码如下:

$str='\u767e\u79d1id\u4e0d\u6b63\u786e';
 
echo str_replace('\u',';&#x',$str);

Leave Your Comment

Your email will not be published or shared. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

*
请输入图片中的字符以验证你并非垃圾机器人. 点击图片收听验证码的语音版.
点击这里收听此验证码的语音版本