You no longer need to be worried if you are taking the LinkedIn PHP Skill Quiz Assessment Exam and are unsure about the proper answer to the question “Which is the way to create an array of “seasons”?”. I have provided the right answer to your question below.
Which is the way to create an array of “seasons”?
Options
- $seasons=array(spring,summer,autumn,winter);
- $seasons=[‘spring’,’summer’,’autumn’,’winter’];
- $seasons=(‘spring’,’summer’,’autumn’,’winter’);
- seasons=array( 1=>’spring’, 2=>’summer’, 3=>’autumn’, 4=>’winter’, );
The Correct Answer Is:
- $seasons=[‘spring’,’summer’,’autumn’,’winter’];
Conclusion
I believe I was successful in answering your query “Which is the way to create an array of “seasons”?”. I hope you easily pass the certification exam and get the certificate as soon as possible. Have a great time! Good luck!