ArrayIterator::__construct

(PHP 5, PHP 7, PHP 8)

ArrayIterator::__constructConstruct an ArrayIterator

Descrição

public ArrayIterator::__construct ( mixed $array = array() , int $flags = 0 )

Constructs an ArrayIterator object.

Aviso

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.

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top