3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $char = '£»øabc'; echo mb_detect_encoding($char); $char = mb_convert_encoding($char, "Windows-1252", "UTF-8"); echo mb_detect_encoding($char);
Output for 4.3.4 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
UTF-8
Output for 4.3.0 - 4.3.3
UTF-8EUC-JP