ArrayIterator::__construct
(PHP 5, PHP 7, PHP 8)
ArrayIterator::__construct — Construct an ArrayIterator
說明
public ArrayIterator::__construct(array|object
$array
= [], int $flags
= 0)Constructs an ArrayIterator object.
警告
本函式還未編寫文件,僅有參數列表。
參數
-
array
-
The array or object to be iterated on.
-
flags
-
Flags to control the behaviour of the ArrayIterator object. See ArrayIterator::setFlags().