La fonction html_entity_decode() convertit les entités HTML en caractères. Pour reconvertir les caractères en entités HTML, utilisez la fonction htmlentities().
La fonction htmlentities() convertit les caractères en entités HTML. Pour reconvertir des entités HTML en caractères, utilisez la fonction html_entity_decode().
La fonction get_html_translation_table() renvoie la table de traduction utilisée par htmlspecialchars() et htmlentities(). Syntaxe get_html_translation_table(function, table, flags)