3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = "uhhh"; echo mb_detect_encoding($s, "UTF-8", true); ?>
Output for 4.3.3 - 7.1.0
UTF-8
Output for 4.3.0 - 4.3.2
Warning: Wrong parameter count for mb_detect_encoding() in /in/sRAvf on line 3