php8.5
Home/ Manual/ spl / recursiveiterator/ RecursiveIterator::getChildren

RecursiveIterator::getChildren

PHP function Edit on GitHub ✎

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

Returns an iterator for the current entry

Description

RecursiveIterator::getChildren(): RecursiveIterator|null

Returns an iterator for the current iterator entry.

Parameters Parameters

Return Values

Returns an iterator for the current entry if it exists, or null otherwise.

See Also

Source: reference/spl/recursiveiterator/getchildren.xml · from the official PHP manual (php/doc-en)