The Standard PHP Library (SPL) introduced with PHP 5, provides the ArrayObject class yjay can be derived to create new classes of objects to be manipulated as if the objects were arrays.
This class extends the ArrayObject class to provide even more functionality to manipulate objects with array-like features.