Array is a variable that contains more than more value using one name only.We can access various variables using their indexes.
Types of array according to structure:
Types of array according to key values
1. Indexed – Use a numeric keys.
2. Associative – use text or string keys(alphanumeric).