Arrays are a special type of variable that can contain many variables, and hold them in a list. Arrays can contain different types of variables according to your needs, and can even contain other arrays or objects as members.

Arrays can be used as stacks and queues as well. PHP arrays are actually ordered maps, meaning that all values of arrays have keys, and the items inside the array preserve order.

Click the links to learn more about Arrays and Arrays with keys.

Categories: PHP