3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = '漢字仮名交じり文'; echo 'strlen: ' . strlen($s); echo 'mb_strlen: ' . mb_strlen ($s);
Output for 5.6.0 - 7.1.0
strlen: 24mb_strlen: 8
Output for 4.3.0 - 5.5.35
strlen: 24mb_strlen: 24