Menu
×
×
Correct!
Exercise:Loop through an associative array and output the key and the value.
@(7)($age @(2) $x @(2) $y) {
echo "Key=" . @(2) . ", Value=" . @(2);
}
foreach($age as $x => $y) {
echo "Key=" . $x . ", Value=" . $y;
}
Not CorrectClick here to try again. Correct!Next ❯ |