Query: arrayobject
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ARRAYOBJECT(3) 1 ARRAYOBJECT(3) The ArrayObject classINTRODUCTIONThis class allows objects to work as arrays.CLASS SYNOPSISArrayObject ArrayObjectIteratorAggregateArrayAccessSerializableCountable Constants o const integer$STD_PROP_LIST1 o const integer$ARRAY_AS_PROPS2 Methods o public ArrayObject::__construct ([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"]) o public void ArrayObject::append (mixed $value) o public void ArrayObject::asort (void ) o public int ArrayObject::count (void ) o public array ArrayObject::exchangeArray (mixed $input) o public array ArrayObject::getArrayCopy (void ) o public int ArrayObject::getFlags (void ) o public ArrayIterator ArrayObject::getIterator (void ) o public string ArrayObject::getIteratorClass (void ) o public void ArrayObject::ksort (void ) o public void ArrayObject::natcasesort (void ) o public void ArrayObject::natsort (void ) o public bool ArrayObject::offsetExists (mixed $index) o public mixed ArrayObject::offsetGet (mixed $index) o public void ArrayObject::offsetSet (mixed $index, mixed $newval) o public void ArrayObject::offsetUnset (mixed $index) o public string ArrayObject::serialize (void ) o public void ArrayObject::setFlags (int $flags) o public void ArrayObject::setIteratorClass (string $iterator_class) o public void ArrayObject::uasort (callable $cmp_function) o public void ArrayObject::uksort (callable $cmp_function) o public void ArrayObject::unserialize (string $serialized)PREDEFINED CONSTANTSARRAYOBJECT FLAGSo ArrayObject::STD_PROP_LIST -Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.). o ArrayObject::ARRAY_AS_PROPS -Entries can be accessed as properties (read and write).CHANGELOG+--------+---------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------+ | 5.3.0 | | | | | | | Implements Serializable. | | | | +--------+---------------------------+ PHP Documentation Group ARRAYOBJECT(3)