3v4l.org

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