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 mongodb bson binary returns a representation that can be converted to jsonphp mongodb bson maxkey returns a representation that can be converted to jsonphp mongodb bson utcdatetime 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 recursivedirectoryiterator returns an iterator for the current entry if it is a directoryphp recursivedirectoryiterator returns whether current entry is a directory and not . or .. php 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 sets the data associated with the current iterator entryphp splobjectstorage returns if the current iterator entry is validphp spoofchecker checks if given strings can be confusedphp zookeeper checks if the current zookeeper connection state can be recovered
关注编程学问公众号