|
get_html_translation_table(PHP4 >= 4.0b4) get_html_translation_table -- Returns the translation table used by htmlspecialchars() and htmlentities()Description
get_html_translation_table() will return the translation table that is used internally for htmlspecialchars() and htmlentities(). Ther are two new defines (HTML_ENTITIES, HTML_SPECIALCHARS) that allow you to specify the table you want.
The cool thing is using array_flip() to change the direction of the translation.
See also: htmlspecialchars(), htmlentities(), strtr(), and array_flip(). |
||||||||||||||||||||
With any suggestions or questions please feel free to contact us |