PHP - Manual: RecursiveFilterIterator::hasChildren
2024-12-21
(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
官方地址:https://www.php.net/manual/en/recursivefilteriterator.haschildren.php