簡體   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