3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?PHP for ($i = 0; $i < 5; $i++) { if ($i % 2) echo $i; echo '<hr>'; } ?>
Output for 4.3.0 - 7.1.0
<hr>1<hr><hr>3<hr><hr>