SplPriorityQueue::valid
ArrayIterator
SPL
PHP Manual

# Iterators

## Table of Contents

- The ArrayIterator class
- The CachingIterator class
- The RecursiveCachingIterator class
- The DirectoryIterator class
- The RecursiveDirectoryIterator class
- The FilterIterator class
- The LimitIterator class
- The ParentIterator class
- The RecursiveIteratorIterator class
- The SimpleXMLIterator class

SPL provides a set of iterators to traverse over objects.

## Iterator list

- AppendIterator
- ArrayIterator
- CachingIterator
- DirectoryIterator
- EmptyIterator
- FilesystemIterator
- FilterIterator
- GlobIterator
- InfiniteIterator
- IteratorIterator
- LimitIterator
- MultipleIterator
- NoRewindIterator
- ParentIterator
- RecursiveArrayIterator
- RecursiveCachingIterator
- RecursiveDirectoryIterator
- RecursiveFilterIterator
- RecursiveIteratorIterator
- RecursiveRegexIterator
- RecursiveTreeIterator
- RegexIterator

SplPriorityQueue::valid
ArrayIterator
SPL
PHP Manual