SplObjectStorage::valid
AppendIterator
SPL
PHP Manual

# Iterators

## Índice

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

SPL provides a set of iterators to traverse over objects.

## SPL Iterators Class Tree

- ArrayIterator
  - RecursiveArrayIterator
- EmptyIterator
- IteratorIterator
  - AppendIterator
  - CachingIterator
    - RecursiveCachingIterator
  - FilterIterator
    - CallbackFilterIterator
      - RecursiveCallbackFilterIterator
    - RecursiveFilterIterator
      - ParentIterator
    - RegexIterator
      - RecursiveRegexIterator
  - InfiniteIterator
  - LimitIterator
  - NoRewindIterator
- MultipleIterator
- RecursiveIteratorIterator
  - RecursiveTreeIterator
- DirectoryIterator (extends SplFileInfo)
  - FilesystemIterator
    - GlobIterator
    - RecursiveDirectoryIterator

SplObjectStorage::valid
AppendIterator
SPL
PHP Manual