Arrays are kings of advanced data structure in PHP, extremely flexible and can do practically anything we can possibly imagine. As variable, an array is a special variable because an array is a data structure that stores one or more values in a single value.

All arrays are ordered collections of items, it’s called elements. Each element has a value that is identified by a key that is unique to the array it belongs to, it’s called index. So, each element in the array has it’s own index that it can be easily accessed. … continue reading : Basic Learning PHP: Introduction Array in PHP.