3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_strlen("système")); var_dump(ini_get("mbstring.internal_encoding"));
based on A1WFd
Output for 5.6.8 - 7.1.0
int(7) string(0) ""
Output for 5.3.0 - 5.5.35
int(8) string(0) ""
Output for 5.2.7 - 5.2.17
int(8) bool(false)
Output for 4.3.3 - 5.2.6
int(8) string(10) "ISO-8859-1"
Output for 4.3.0 - 4.3.2
int(8) string(4) "none"