Adam

Kelli

Samuel

Liam

Olivia

1

2

3

10

Result of a string index

You can get size of array by using sizeOf(), which the length of this array is: 9

Add a value to the end of an array by using $ Array[]=value.

Array ( [0] => Adam [1] => Kelli [2] => Samuel [3] => Liam [4] => Olivia [5] => 1 [6] => 2 [7] => 10 [indexCanBeAString] => Result of a string index )


United States of America

Array ( [USA] => United States of America [FR] => France [CA] => Canada )