html_entity_decode()

It convert all HTML entities to their applicable characters

Example

<?php
echo html_entity_decode(“PHP &amp; HTML”);
?>

Output

PHP & HTML

Share