3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_convert_encoding( "◄", "HTML-ENTITIES" )); ?>
Output for 5.6.8 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
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.