ArrayIterator::__construct

(PHP 5, PHP 7)

ArrayIterator::__constructConstruct an ArrayIterator

Opis

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

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.

flags

Flags to control the behaviour of the ArrayIterator object. See ArrayIterator::setFlags().

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ż:

add a note add a note

User Contributed Notes

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