InfiniteIterator
PHP Manual

InfiniteIterator::next

(PHP 5 >= 5.1.0)

InfiniteIterator::nextMoves the inner Iterator forward or rewinds it

説明

public void InfiniteIterator::next ( void )

Moves the inner Iterator forward to its next element if there is one, otherwise rewinds the inner Iterator back to the beginning.

注意: Even an InfiniteIterator stops if its inner Iterator is empty.

パラメータ

この関数にはパラメータはありません。

返り値

値を返しません。

参考


InfiniteIterator
PHP Manual