InfiniteIterator::next

(PHP 5 >= 5.1.0, PHP 7)
Moves 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.

Note:

Even an InfiniteIterator stops if its inner Iterator is empty.

Returns:

No value is returned.

See also:

InfiniteIterator::__construct() -

doc_php
2016-02-24 16:19:55
Comments
Leave a Comment

Please login to continue.