3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_detect_encoding('test', null, true));
Output for 4.3.3 - 7.1.0
string(5) "ASCII"
Output for 4.3.0 - 4.3.2
Warning: Wrong parameter count for mb_detect_encoding() in /in/fnc2p on line 3 NULL