RecursiveRegexIterator::getChildren Returns an iterator for the current entry &reftitle.description; public RecursiveRegexIteratorRecursiveRegexIterator::getChildren Returns an iterator for the current iterator entry. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; An iterator for the current entry, if it can be iterated over by the inner iterator. &reftitle.errors; An InvalidArgumentException will be thrown if the current entry does not contain a value that can be iterated over by the inner iterator. &reftitle.examples; <function>RecursiveRegexIterator::getChildren</function> example $value1) { if ($rRegexIterator->hasChildren()) { // print all children echo "Children: "; foreach ($rRegexIterator->getChildren() as $key => $value) { echo $value . " "; } echo "\n"; } else { echo "No children\n"; } } ?> ]]> &example.outputs; &reftitle.seealso; RecursiveRegexIterator::hasChildren