get_html_translation_table

PHP 4, PHP 5, PHP 7, PHP 8
get_html_translation_table - Returns the translation table used by htmlspecialchars and htmlentities

Example #1 Translation Table Example

Result: array(1510) { [" "]=> string(9) "
" ["!"]=> string(6) "!" ["""]=> string(6) """ ["#"]=> string(5) "#" ["$"]=> string(8) "$" ["%"]=> string(8) "%" ["&"]=> string(5) "&" ["'"]=> string(6) "'" // ... }
PHP Version:


Example #2 of get_html_translation_table

PHP Version:


Function get_html_translation_table:

Strings Functions

Most used PHP functions