<?php $colors = ["red", "green", "blue", "yellow"]; foreach ($colors as $value) { echo "$value <br>"; } ?>