3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "y:" . mb_substr('abcde', 1, null, 'UTF-8'); echo "\n"; echo "x:" . mb_substr('abcde',1);
Output for 5.4.8 - 7.2.0
y:bcde x:bcde
Output for 4.3.0 - 5.4.7
y: x:bcde