(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.
此函数没有参数。
true
if the inner iterator has children, otherwise false