3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Write your for loop below! for ($i = 0; $i < 100; $i = $i + 10) { echo "<p> $i </p>"; } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<p> 0 </p><p> 10 </p><p> 20 </p><p> 30 </p><p> 40 </p><p> 50 </p><p> 60 </p><p> 70 </p><p> 80 </p><p> 90 </p>