NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class ArrayIterator

  ArrayIterator implements Iterator, Traversable, ArrayAccess, SeekableIterator, Serializable, Countable

PHP Extension: SPL
Documented at php.net

## Methods summary

- `public` `__construct ( mixed $array )`
- `public` `offsetExists ( mixed $index )`
- `public` `offsetGet ( mixed $index )`
- `public` `offsetSet ( mixed $index, mixed $newval )`
- `public` `offsetUnset ( mixed $index )`
- `public` `append ( mixed $value )`
- `public` `getArrayCopy ( )`
- `public` `count ( )`
- `public` `getFlags ( )`
- `public` `setFlags ( mixed $flags )`
- `public` `asort ( )`
- `public` `ksort ( )`
- `public` `uasort ( mixed $cmp_function )`
- `public` `uksort ( mixed $cmp_function )`
- `public` `natsort ( )`
- `public` `natcasesort ( )`
- `public` `unserialize ( mixed $serialized )`
- `public` `serialize ( )`
- `public` `rewind ( )`
- `public` `current ( )`
- `public` `key ( )`
- `public` `next ( )`
- `public` `valid ( )`
- `public` `seek ( mixed $position )`

## Methods detail

# `public`
`__construct( mixed $array )`
# `public`
`offsetExists( mixed $index )`

#### Implementation of

`ArrayAccess::offsetExists()`
# `public`
`offsetGet( mixed $index )`

#### Implementation of

`ArrayAccess::offsetGet()`
# `public`
`offsetSet( mixed $index, mixed $newval )`

#### Implementation of

`ArrayAccess::offsetSet()`
# `public`
`offsetUnset( mixed $index )`

#### Implementation of

`ArrayAccess::offsetUnset()`
# `public`
`append( mixed $value )`
# `public`
`getArrayCopy( )`
# `public`
`count( )`

#### Implementation of

`Countable::count()`
# `public`
`getFlags( )`
# `public`
`setFlags( mixed $flags )`
# `public`
`asort( )`
# `public`
`ksort( )`
# `public`
`uasort( mixed $cmp_function )`
# `public`
`uksort( mixed $cmp_function )`
# `public`
`natsort( )`
# `public`
`natcasesort( )`
# `public`
`unserialize( mixed $serialized )`

#### Implementation of

`Serializable::unserialize()`
# `public`
`serialize( )`

#### Implementation of

`Serializable::serialize()`
# `public`
`rewind( )`

#### Implementation of

`Iterator::rewind()`
# `public`
`current( )`

#### Implementation of

`Iterator::current()`
# `public`
`key( )`

#### Implementation of

`Iterator::key()`
# `public`
`next( )`

#### Implementation of

`Iterator::next()`
# `public`
`valid( )`

#### Implementation of

`Iterator::valid()`
# `public`
`seek( mixed $position )`

#### Implementation of

`SeekableIterator::seek()`

### Magic methods summary

## Constants summary

`integer` | `STD_PROP_LIST` | `1` | #
`integer` | `ARRAY_AS_PROPS` | `2` | #