top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the functionality of the function htmlentities?

+2 votes
451 views
What is the functionality of the function htmlentities?
posted Dec 29, 2014 by Rahul Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

htmlentities will convert all applicable characters to HTML entities.

string htmlentities ( string string [, int quote_style [,
string charset]] ) 
answer Dec 29, 2014 by Deepak Negi
0 votes

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.

answer Dec 23, 2017 by Jdk
...