arrayobject(3) php man page | unix.com

Man Page: arrayobject

Operating Environment: php

Section: 3

ARRAYOBJECT(3)								 1							    ARRAYOBJECT(3)

The ArrayObject class

INTRODUCTION
This class allows objects to work as arrays.
CLASS SYNOPSIS
ArrayObject 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 CONSTANTS
ARRAYOBJECT FLAGS
o 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)
Related Man Pages
reflectionclass(3) - php
splqueue(3) - php
arrayiterator(3) - php
oauth(3) - php
reflectionmethod(3) - php
Similar Topics in the Unix Linux Community
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!