3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = "ф"; echo mb_strlen($t);
Output for 5.6.7 - 7.1.0
1
Output for 4.3.0 - 5.5.35
2