Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_html_translation_table()

3 tags 1 category

get_html_translation_table() — Returns the translation table used by htmlspecialchars and htmlentities.

get_html_translation_table will return the translation table that is used internally for htmlspecialchars and htmlentities.

Inputs: table: Which table to return. Either HTML_ENTITIES or HTML_SPECIALCHARS. encoding: Encoding to use. If omitted, the default value for this argument is UTF-8.

Returns: Returns the translation table as an array, with the original characters as keys and entities as values.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…