PHP 8.1.20 Released!

IteratorIterator::__construct

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

IteratorIterator::__constructCrée un itérateur à partir d'un objet traversable

Description

public IteratorIterator::__construct(Traversable $iterator, ?string $class = null)

Crée un itérateur à partir d'un objet traversable.

Liste de paramètres

iterator

L'itérateur traversable.

Voir aussi

add a note

User Contributed Notes

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