php8.5
Home/ Manual/ spl / recursivecachingiterator/ RecursiveCachingIterator::hasChildren

RecursiveCachingIterator::hasChildren

PHP function Edit on GitHub ✎

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

Check whether the current element of the inner iterator has children

Description

RecursiveCachingIterator::hasChildren(): bool

Func

Parameters Parameters

Return Values

true if the inner iterator has children, otherwise false

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