3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(ini_get('mbstring.internal_encoding')); var_dump(mb_internal_encoding());
Output for 5.6.8 - 5.6.28, 7.0.0 - 7.1.0
string(0) "" string(5) "UTF-8"
Output for hhvm-3.12.0
bool(false) string(5) "UTF-8"
Output for hhvm-3.10.0

Process exited with code 153.
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"