3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(htmlspecialchars(unichr(228))); function unichr($u) { return mb_convert_encoding('&#' . intval($u) . ';', 'UTF-8', 'HTML-ENTITIES'); }
based on 2kZ8o
Output for 4.3.0 - 5.0.2, 5.0.4 - 7.2.0
รค
Output for 5.0.3

Process exited with code 139.