(PHP 5, PHP 7, PHP 8)
CachingIterator::next — Move the iterator forward
Moves the iterator forward.
If the inner iterator is valid, its current key and element become the
current key and element of the CachingIterator,
and are added to the cache if
CachingIterator::FULL_CACHE is set.
The inner iterator is then moved forward.
Otherwise, the CachingIterator is no longer valid.
This function has no parameters.
No value is returned.