Let's practice making a few more arrays.
- Create an array to represent a list of your favorite flavors of ice cream. Then use square brackets to print out the second flavor.
- Remove the second flavor from the above array, and then print the whole array out.
- Create another array to hold a list of the 5 worst movies of all time. Then use
array_push
to add 2 more terrible movies to the list. Print out the final version to make sure it holds all 7 movies.
- Create an array to hold your eight favorite books. Then print out all the even numbered ones.