Example 1 - Set up array of seasons and print out values
Autumn Winter Spring Summer
End of Example 1
Example 2 - Set up array of seasons and choose your own keys
Autumn Winter Spring Summer
End of Example 2
Example 3 - Set up an array with mixed values
10 Spring 30 Summer
End of Example 3
Example 4 - Assign array values with PHP chossing next index
Autumn Winter Spring Summer
End of Example 4
Example 5 - Creating an array of values with a loop
2 8 16 20
End of Example 5
====================
Press Enter to continue ...
Fatal error: Uncaught Error: Undefined constant "STDIN" in /home/course/u90/public_html/examples_php_general/arrays/arrays_10examples.php:59
Stack trace:
#0 {main}
thrown in /home/course/u90/public_html/examples_php_general/arrays/arrays_10examples.php on line 59