3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo substr("201410", 0, 4); echo '<br>'; echo substr("201410", 4, 6);
based on 3hLse
Output for 4.3.0 - 7.1.0
2014<br>10