PHP htmlentities() Function
In this article, you will learn how to convert plain characters into HTML entities. The htmlentities() function convert characters into HTML entities. Note: To perform the reverse operation (HTML entities back to characters), you can use html_entity_decode() function. htmlentities() function uses translation table. To get the translation table, you can use get_html_tranlsation_table() function. What is …