繁体   English   中英

解码“&Lowbar”的正确方法是什么? 进入 ”_”?

[英]What is the correct way to decode "&Lowbar;" into "_"?

我曾尝试使用 html_entity_decode 但它没有用。

使用它来解码它的正确功能是什么?

你可以简单地使用ENT_HTML5国旗html_entity_decode

echo html_entity_decode ('_', ENT_HTML5);

哪个打印:

_

参见 PHP 手册: https : //www.php.net/manual/en/function.html-entity-decode.php

我尝试使用html_entity_decode,但没有用。

用它解码的正确函数是什么?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM