PHP for, foreach loops and arrays example

Value of array index 0 is E1
Value of array index 1 is E2
Value of array index 2 is E3

E1 is in the array
E2 is in the array
E3 is in the array

Value of array index 0 is E1
Value of array index 1 is E2
Value of array index 2 is E3

Annie is 21 years old.

To get the whole array with keys and values....
Annie is 21 years old.
Dave is 70 years old.
Frank is 200 years old.