The RecursiveIterator interface
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Introduction
Classes implementing RecursiveIterator can be used to iterate over iterators recursively.
Interface synopsis
/* Methods */
/* Inherited methods */
}Table of Contents
- RecursiveIterator::getChildren — Returns an iterator for the current entry
- RecursiveIterator::hasChildren — Returns if an iterator can be created for the current entry
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
