3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '日本語'; var_dump(strlen($str)); var_dump(mb_strlen($str));
Output for 5.6.7 - 7.1.0
int(9) int(3)
Output for 4.3.0 - 5.5.35
int(9) int(9)