(PHP 5 >= 5.1.0, PHP 7)
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