3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(ini_get('mbstring.internal_encoding')); var_dump(mb_internal_encoding());
Output for 5.6.8 - 7.2.0
string(0) "" string(5) "UTF-8"
Output for 5.3.0 - 5.5.35
string(0) "" string(10) "ISO-8859-1"
Output for 5.2.7 - 5.2.17
bool(false) string(10) "ISO-8859-1"
Output for 4.3.3 - 5.2.6
string(10) "ISO-8859-1" string(10) "ISO-8859-1"
Output for 4.3.0 - 4.3.2
string(4) "none" string(4) "pass"