3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $colors = array("red","green","blue","yellow"); foreach ($colors as $value) { echo "$value <br>"; } ?>
based on Clk5o
Output for 4.3.0 - 7.1.0
red <br>green <br>blue <br>yellow <br>