PHPLIB-81: CachingIterator fixes for rewind and count
Ensure that a call to CachingIterator::rewind() no longer exhausts results up front, which would impose a BufferedIterator design. Initializing the cache to an empty array also ensures that we can count an empty result set.
Showing
Please
register
or
sign in
to comment