(PHP 5 >= 5.1.0, PHP 7, PHP 8)
RecursiveFilterIterator::hasChildren — Check whether the inner iterator's current element has children
Check whether the inner iterator's current element has children.
This function has no parameters.
true if the inner iterator has children, otherwise false
true
false