3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $invitediff = 10 - 5; //$invitediff++; for($i = 1; $i < $invitediff; $i += 1) { //loop to calculate parameters for substr echo $i; }
Output for 4.3.0 - 7.2.0
1234