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(14) "&#9658;&#9658;"
Output for 4.3.0 - 4.4.9, 5.0.1 - 5.5.35
string(38) "&acirc;&#150;&ordm;&acirc;&#150;&ordm;"
Output for 5.0.0
string(38) "&acirc;&#150;&ordm;&acirc;&#150;&ordm;"
Process exited with code 139.