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

  • 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’];
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend