What is Array in PHP? There are 3 types of array in PHP. 1. Indexed Array: An indexed array is a type of array where each element is assigned a numeric index, starting from 0 and increasing by 1 for each subsequent element. There are two ways to define indexed array: 1st way: Example: Output: Read More