ParentIterator::rewind
RecursiveIteratorIterator::current
Iterators
PHP Manual

# The RecursiveIteratorIterator class

## Introduction

...

## Class synopsis

RecursiveIteratorIterator
RecursiveIteratorIterator implements OuterIterator , Traversable , Iterator {
/* Methods */
mixed RecursiveIteratorIterator::current ( void )
int RecursiveIteratorIterator::getDepth ( void )
RecursiveIterator RecursiveIteratorIterator::getSubIterator ( void )
mixed RecursiveIteratorIterator::key ( void )
void RecursiveIteratorIterator::next ( void )
void RecursiveIteratorIterator::rewind ( void )
bool RecursiveIteratorIterator::valid ( void )
}

## Table of Contents

- RecursiveIteratorIterator::current — Access the current element value
- RecursiveIteratorIterator::getDepth — Get the current depth of the recursive iteration
- RecursiveIteratorIterator::getSubIterator — The current active sub iterator
- RecursiveIteratorIterator::key — Access the current key
- RecursiveIteratorIterator::next — Move forward to the next element
- RecursiveIteratorIterator::rewind — Rewind the iterator to the first element of the top level inner iterator
- RecursiveIteratorIterator::valid — Check whether the current position is valid

ParentIterator::rewind
RecursiveIteratorIterator::current
Iterators
PHP Manual