3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a ="53534534535"; $rest = substr($a, 0, 4); echo $rest;
Output for 4.3.0 - 7.1.0
5353