NoRewindIterator::__constructConstruct a NoRewindIterator Beschreibung
public NoRewindIterator::__construct
( Iterator
$iterator
)Constructs a NoRewindIterator. Parameter-Liste
Rückgabewerte
A NoRewindIterator based on the passed in
Beispiele
Beispiel #1 NoRewindIterator::__construct example The second loop does not output because the iterator is only used once, as it does not rewind.
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Fruit A: apple banana cranberry Fruit B: Siehe auch
|