An array is a special type of variable which can store multiple values in one single variable.
If you have a list of names, storing them in single variables could look like this.
$name1="Car"; $name2="Bus"; $name3="Train";
Suppose there are hundred such name. Declaring each name as a separate variable becomes tedious.
Hence one can declare an array of names containing 100 elements and refer to it by one single name.
And one can access the values by refferring to the array name.
Each element in the array has its own index so that it can be easily accessed.
In PHP, there are three kind of arrays.