htmlspecialchars_decode()

It convert special HTML entities back to characters

Example

<?php
echo htmlspecialchars_decode(“<p>php &gt”);
?>

Output

php >

Share