ArrayIterator
PHP Manual

ArrayIterator::__construct

(PHP 5 >= 5.0.0)

ArrayIterator::__constructConstruct an ArrayIterator

Opis

ArrayIterator::__construct ( mixed $array )

Constructs an ArrayIterator object .

Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Parametry

array

The array or object to be iterated on.

Zwracane wartości

An ArrayIterator object .

Błędy/Wyjątki

ArrayIterator::__construct() throws an InvalidArgumentException if anything besides an array or an object is given.

Zobacz też:


ArrayIterator
PHP Manual