Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $x) :
  echo "$x <br>";
endforeach;
?>
</body>
</html>
red
green
blue
yellow