RecursiveIteratorIterator::valid
SimpleXMLIterator::current
Iterators
PHP Manual

# The SimpleXMLIterator class

## Introduction

...

## Class synopsis

SimpleXMLIterator
SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator , Traversable , Iterator , Countable {
/* Methods */
mixed SimpleXMLIterator::current ( void )
object SimpleXMLIterator::getChildren ( void )
bool SimpleXMLIterator::hasChildren ( void )
mixed SimpleXMLIterator::key ( void )
void SimpleXMLIterator::next ( void )
void SimpleXMLIterator::rewind ( void )
bool SimpleXMLIterator::valid ( void )
}

## Table of Contents

- SimpleXMLIterator::current — Return current SimpleXML entry
- SimpleXMLIterator::getChildren — Returns an iterator for the current entry if it is a SimpleXML object
- SimpleXMLIterator::hasChildren — Returns whether current entry is a SimpleXML object
- SimpleXMLIterator::key — Return current SimpleXML key
- SimpleXMLIterator::next — Move to next entry
- SimpleXMLIterator::rewind — Rewind SimpleXML back to the start
- SimpleXMLIterator::valid — Check whether SimpleXML contains more entries

RecursiveIteratorIterator::valid
SimpleXMLIterator::current
Iterators
PHP Manual