3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = '漢字仮名交じり文'; echo "strlen: " . strlen($s) . "\n"; echo "mb_strlen: " . mb_strlen ($s, 'utf-8');
Output for 4.3.0 - 7.2.0
strlen: 24 mb_strlen: 8