Arrays and objects are used to store and organize data. PHP includes a large number of functions that enable you to create, modify, and manipulate arrays. The object-oriented programming structures found in many programming languages are also evident in PHP.
In this chapter, you learn the basics of working with arrays and objects:
How to create and manipulate arrays using the myriad array-related functions built into PHP
How to create and manipulate objects and the data they contain