RecursiveIterator::hasChildren

(PHP 5 >= 5.1.0, PHP 7)

RecursiveIterator::hasChildrenReturns if an iterator can be created for the current entry

说明

public RecursiveIterator::hasChildren ( void ) : bool

Returns if an iterator can be created for the current entry. RecursiveIterator::getChildren().

参数

此函数没有参数。

返回值

Returns TRUE if the current entry can be iterated over, otherwise returns FALSE.

参见

相关文章
php directoryiterator determine if current directoryiterator item can be readphp directoryiterator determine if current directoryiterator item can be written tophp runkit 函数 determines if the current functions return value will be usedphp mongodb bson minkey returns a representation that can be converted to jsonphp mongodb bson regex returns a representation that can be converted to jsonphp mongodb bson timestamp returns a representation that can be converted to jsonphp outeriterator returns the inner iterator for the current entryphp phar returns true if the phar archive can be modifiedphp phardata returns true if the tar/zip archive can be modifiedphp recursivearrayiterator returns an iterator for the current entry if it is an array or an objectphp recursivearrayiterator returns whether current entry is an array or an objectphp recursivedirectoryiterator returns an iterator for the current entry if it is a directoryphp recursiveiterator returns an iterator for the current entryphp recursiveiterator returns if an iterator can be created for the current entryphp recursiveregexiterator returns an iterator for the current entryphp recursiveregexiterator returns whether an iterator can be obtained for the current entryphp splobjectstorage returns the data associated with the current iterator entryphp splobjectstorage returns if the current iterator entry is validphp swoole connection iterator check if current position is valid.php zookeeper checks if the current zookeeper connection state can be recovered
关注编程学问公众号