3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $userName = "黑夜路人好"; //echo strlen($userName); echo mb_substr($userName, 0, 1);
based on 8ZrtF
Output for 5.6.7 - 7.2.0
Output for 4.3.0 - 5.5.35