The ArrayObject class
This class allows objects to work as arrays.
Intro
This class allows objects to work as arrays.
Wrapping objects with this class is fundamentally flawed, and therefore its usage with objects is discouraged.
Class synopsis
Predefined Constants
ArrayObject Flags
ArrayObject::STD_PROP_LISTProperties of the object have their normal functionality when accessed as list (
var_dump(), Foreach, etc.).ArrayObject::ARRAY_AS_PROPSEntries can be accessed as properties (read and write). The
ArrayObjectclass uses its own logic to access properties, thus no warning or error is raised when trying to read or write dynamic properties.
Changelog
| Version | Description |
|---|
Arrayobject