The SimpleXMLIterator class
Guide
Edit on GitHub ✎
The SimpleXMLIterator provides recursive iteration over all nodes of a SimpleXMLElement object.
Intro
The SimpleXMLIterator provides recursive iteration over all nodes of a SimpleXMLElement object.
Class synopsis
class SimpleXMLIterator extends SimpleXMLElement { }
Changelog
| Version | Description |
|---|---|
| 8.0.0 | Iterator methods (SimpleXMLIterator::hasChildren, SimpleXMLIterator::getChildren, SimpleXMLIterator::current, SimpleXMLIterator::key, SimpleXMLIterator::next,SimpleXMLIterator::rewind, SimpleXMLIterator::valid) were moved to SimpleXMLElement. |
| 8.0.0 | SimpleXMLIterator implements Stringable now. |