3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $z=5; for($i = 1; $i <= 100; $i += $z){ echo $i . ', '; if($i>40) $z=10; }
based on ardZg
Output for 4.3.0 - 7.2.0
1, 6, 11, 16, 21, 26, 31, 36, 41, 51, 61, 71, 81, 91,