PHP Array


An array is a special variable, which can hold more than one value at a time.
An array can hold many values under a single name, and you can access the values by referring to an index number.

Types of array.


PHP array() function:-
PHP array() function creates and returns an array. It allows you to create indexed, associative.