get_html_translation_table

Example

 array get_html_translation_table ([ int $table = HTML_SPECIALCHARS [, int $quote_style = ENT_COMPAT [, string $charset_hint ]]] ) 

Description

get_html_translation_table() will return the translation table that is used internally for htmlspecialchars() and htmlentities() with the default charset. Note: Special characters can be encoded in several ways. E.g. " can be encoded as ", " or &#x22. get_html_translation_table() returns only the form used by htmlspecialchars() and htmlentities().

Return Values

Returns the translation table as an array.