RecursiveDirectoryIterator::hasChildren

(PHP 5, PHP 7)

RecursiveDirectoryIterator::hasChildrenReturns whether current entry is a directory and not '.' or '..'

说锟斤拷

public RecursiveDirectoryIterator::hasChildren ([ bool $allow_links = FALSE ] ) : bool
Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

锟斤拷锟斤拷

allow_links

锟斤拷锟斤拷值

Returns whether the current entry is a directory, but not '.' or '..'