3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $table = get_html_translation_table(HTML_SPECIALCHARS, ENT_QUOTES); ksort($table); var_dump($table);
Output for 4.3.0 - 4.3.1, 5.3.4 - 7.1.0
array(5) { ["""]=> string(6) "&quot;" ["&"]=> string(5) "&amp;" ["'"]=> string(6) "&#039;" ["<"]=> string(4) "&lt;" [">"]=> string(4) "&gt;" }
Output for 4.3.2 - 5.3.3
array(5) { ["""]=> string(6) "&quot;" ["&"]=> string(5) "&amp;" ["'"]=> string(5) "&#39;" ["<"]=> string(4) "&lt;" [">"]=> string(4) "&gt;" }