Article: Collection Classes in PHP


Collection Classes in PHP
A Col­lec­tion class is an OOP replace­ment for the tra­di­tion­al array data struc­ture. Much like an array, a col­lec­tion con­tains mem­ber ele­ments, although these tend to be objects rather than sim­pler types such as strings and inte­gers.

Link to Article