简体   繁体   中英

How do I display HTML entities as text?

I'm building an ASCII binary decoder. I need to know how to show an HTML entity such as &#035 ; as text in an HTML document instead of the character it corresponds to.

I think, you are about htmlentities() function in PHP

PHP manual about htmlentities()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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