Junior PHP Developer Question:

Tell me what is the use of the function htmlentities?

Tweet Share WhatsApp

Answer:

htmlentities Convert all applicable characters to HTML entities This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities.

Download Junior PHP Developer PDF Read All 161 Junior PHP Developer Questions
Previous QuestionNext Question
Explain what does $_SERVER means?Explain me what is the use of header() function in php?