htmlspecialchars_decode() function convert special HTML entities back to characters. This function is the opposite of htmlspecialchars(). It converts special HTML entities back to characters.
Syntax:
1 2 | htmlspecialchars_decode ( string $string [, int $flags = ENT_COMPAT | ENT_HTML401 ] ) : string |
Reference:
https://www.php.net/manual/en/function.htmlspecialchars-decode.php
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.