get_html_translation_table()

It returns the translation table used by htmlspecialchars() and htmlentities()

Example

<?php
print_r (get_html_translation_table(HTML_ENTITIES));
?>

Share