(PHP 5, PHP 7, PHP 8)
CachingIterator::current — Return the current element
Returns the current element.
As the CachingIterator is one element ahead of its inner iterator, this is the element that was stored when the iterator last moved, not the current element of the inner iterator.
This function has no parameters.