Arrays in PHP is a type of data structure that allows us to store multiple elements of similar data type under a single variable subsequently saving us the work of making an different variable for each data.
Types of arrays
Indexed arrays - Arrays with a numeric index.
Associative arrays - Arrays with named keys.
Multi-dimensional arrays - Arrays containing at least one array.