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 priorityqueue returns a representation that can be converted to jsonphp stack returns a representation that can be converted to jsonphp mysqlnd qc 函数 returns information on the current handler the number of cache entries and cache entries if availablephp 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 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 current storage entryphp splobjectstorage returns the data associated with the current iterator entryphp splobjectstorage returns if the current iterator entry is validphp zookeeper checks if the current zookeeper connection state can be recovered
关注编程学问公众号