Associative arrays – Array with key-value pairs, its similar to Map in java. Multidimensional arrays – An array of arrays. There are two ways to create indexed arrays. – first way to use array () function without any index, index are assigned automatically starting from 0. – second way to manually assign index and create the array.
For More Information Please Refer: