ArrayIterator::__construct

(PHP 5 >= 5.0.0, PHP 7)

ArrayIterator::__constructConstruct an ArrayIterator

설명

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

Constructs an ArrayIterator object.

Warning

이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.

인수

array

The array or object to be iterated on.

flags

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

반환값

An ArrayIterator object.

오류/예외

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

참고

add a note add a note

User Contributed Notes

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