3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 10; $i++) echo $i % 4 . "\n";
based on sTlQI
Output for 5.6.0 - 7.3.0rc2
0 1 2 3 0 1 2 3 0 1