3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_detect_order('ASCII', 'UTF-8', 'ISO-8859-1')); var_dump(mb_detect_encoding(chr(129).chr(167), mb_detect_order(), false));
Output for 5.3.0 - 7.1.0
Warning: mb_detect_order() expects at most 1 parameter, 3 given in /in/GLDkC on line 2 NULL bool(false)
Output for 4.3.4 - 5.2.17
Warning: Wrong parameter count for mb_detect_order() in /in/GLDkC on line 2 NULL bool(false)
Output for 4.3.3
Warning: Wrong parameter count for mb_detect_order() in /in/GLDkC on line 2 NULL string(4) "SJIS"
Output for 4.3.0 - 4.3.2
Warning: Wrong parameter count for mb_detect_order() in /in/GLDkC on line 2 NULL Warning: Wrong parameter count for mb_detect_encoding() in /in/GLDkC on line 3 NULL