Menu
×
×
Correct!
Exercise:Loop through the items in the
$colors = array("red", "green", "blue", "yellow");
@(7) ($colors @(2) $x) {
echo $x;
}
$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $x) {
echo $x;
}
Not CorrectClick here to try again. Correct!Next ❯ |