3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_convert_encoding( "◄", "HTML-ENTITIES" )); ?>
Output for 5.6.8 - 7.2.6
string(7) "&#9668;"
Output for 4.3.0 - 4.4.9, 5.0.1 - 5.5.35
string(19) "&acirc;&#151;&#132;"
Output for 5.0.0
string(19) "&acirc;&#151;&#132;"
Process exited with code 139.