Tutorialsplane

PHP html_entity_decode function


PHP html_entity_decode function : It converts the html entities to its applicable characters. This function decodes all html entities to its equivalent characters. We will explain this function with Syntax, Example And Demo .


Note : It Supports In PHP 4 and above versions.

PHP html_entity_decode function

Here is syntax for html_entity_decode function

Syntax: html_entity_decode function

html_entity_decode(string,flags,char-set);

Input(html_entity_decode) Parameters

Hers are parameters explained –

Return(html_entity_decode) Parameters

Returns the decoded string.

PHP html_entity_decode function

Here is very basic example of html_entity_decode function –

html entity decode function Example:

Try It>>

If you run the above example it produce the following example as below-

PHP String Functions