Which is the way to create an array of “seasons”?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
  • seasons=array( 1=>’spring’, 2=>’summer’, 3=>’autumn’, 4=>’winter’, );
  • $seasons=array(spring,summer,autumn,winter);
  • $seasons=(‘spring’,’summer’,’autumn’,’winter’);
  • $seasons=[‘spring’,’summer’,’autumn’,’winter’];
0/5 (0 Reviews)

Like this article?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Related Posts