3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_detect_encoding(chr(129).chr(167), 'ISO-8859-1', true));
Output for 4.3.3 - 7.1.0
string(10) "ISO-8859-1"
Output for 4.3.0 - 4.3.2
Warning: Wrong parameter count for mb_detect_encoding() in /in/BWAHM on line 3 NULL