ArrayIterator::__construct
(PHP 5 >= 5.0.0)
ArrayIterator::__construct — Construct an ArrayIterator
Descrição
Constructs an ArrayIterator object.
Warning
Esta função não está documentada; somente a lista de argumentos está disponível.
Parâmetros
-
array -
The array or object to be iterated on.
-
flags -
Flags to control the behaviour of the ArrayIterator object. See ArrayIterator::setFlags().
Valor Retornado
An ArrayIterator object.
Erros
ArrayIterator::__construct() throws an InvalidArgumentException if anything besides an array or an object is given.