PHP PHP Arrays and Control Structures PHP Arrays Mixing and Sorting

Iifo Edward
Iifo Edward
14,344 Points

PHP ARRAY

$winter = array("December", "January", "February"); $spring = array("March", "April", "May"); $summer = array("June", "July", "August"); $fall = array("September", "October", "November"); $seasons = array("Winter" => $winter, "Spring" => $spring, "Summer" => $summer, "Fall" => $fall); How would I access "March" using the $seasons array?

1 Answer