[英]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.