3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo substr('349312', -7);
Output for 4.3.0 - 5.2.1, 5.2.7 - 7.1.0
349312
Output for 5.2.2 - 5.2.6