Miscellaneous Classes and Interfaces
ArrayObject::append
Miscellaneous Classes and Interfaces
PHP Manual

# A classe ArrayObject

## Introdução

...

## Sinopse da classe

ArrayObject
ArrayObject implements IteratorAggregate , Traversable , ArrayAccess , Countable {
/* Métodos */
__construct ( mixed `$input` )
void append ( mixed `$newval` )
void asort ( void )
int count ( void )
array exchangeArray ( mixed `$input` )
array getArrayCopy ( void )
int getFlags ( void )
ArrayIterator getIterator ( void )
public string getIteratorClass ( void )
void ksort ( void )
void natcasesort ( void )
void natsort ( void )
bool offsetExists ( mixed `$index` )
mixed offsetGet ( mixed `$index` )
void offsetSet ( mixed `$index` , mixed `$newval` )
void offsetUnset ( mixed `$index` )
public void serialize ( void )
void setFlags ( int `$flags` )
void setIteratorClass ( string `$iterator_class` )
void uasort ( callback `$cmp_function` )
void uksort ( callback `$cmp_function` )
public void unserialize ( string `$serialized` )
}

## Constantes pré-definidas

## ArrayObject Flags

`ArrayObject::STD_PROP_LIST`

  Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).

`ArrayObject::ARRAY_AS_PROPS`

  Entries can be accessed as properties (read and write).

## Índice

- ArrayObject::append — Acrescenta um valor
- ArrayObject::asort — Sort the entries by value
- ArrayObject::__construct — Constrói um novo objeto array
- ArrayObject::count — Retorna o número de elementos no iterador
- ArrayObject::exchangeArray — Exchange the array for another one.
- ArrayObject::getArrayCopy — Creates a copy of the ArrayObject.
- ArrayObject::getFlags — Gets the behavior flags.
- ArrayObject::getIterator — Retorna o iterador do ArrayObject
- ArrayObject::getIteratorClass — Gets the iterator classname for the ArrayObject.
- ArrayObject::ksort — Sort the entries by key
- ArrayObject::natcasesort — Sort an array using a case insensitive "natural order" algorithm
- ArrayObject::natsort — Sort entries using a "natural order" algorithm
- ArrayObject::offsetExists — Retorna se o índice solicitado existe ou não
- ArrayObject::offsetGet — Retorna o valor do índice especificado
- ArrayObject::offsetSet — Define o valor do índice especificado por $index para $newval
- ArrayObject::offsetUnset — Destrói o elemento no índice especificado
- ArrayObject::serialize — Serialize an ArrayObject
- ArrayObject::setFlags — Sets the behavior flags.
- ArrayObject::setIteratorClass — Sets the iterator classname for the ArrayObject.
- ArrayObject::uasort — Sort the entries with a user-defined comparison function and maintain key association
- ArrayObject::uksort — Sort the entries by keys using a user-defined comparison function
- ArrayObject::unserialize — Unserialize an ArrayObject

Miscellaneous Classes and Interfaces
ArrayObject::append
Miscellaneous Classes and Interfaces
PHP Manual