ArrayIterator::__construct
(PHP 5 >= 5.0.0)
ArrayIterator::__construct — Construct an ArrayIterator
Beschreibung
Constructs an ArrayIterator object.
Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Parameter-Liste
-
array -
The array or object to be iterated on.
-
flags -
Flags to control the behaviour of the ArrayIterator object. See ArrayIterator::setFlags().
Rückgabewerte
An ArrayIterator object.
Fehler/Exceptions
ArrayIterator::__construct() throws an InvalidArgumentException if anything besides an array or an object is given.