(PHP 5, PHP 7)
RecursiveDirectoryIterator::hasChildren — Returns whether current entry is a directory and not '.' or '..'
$allow_links
= FALSE
] ) : bool锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷
allow_links
Returns whether the current entry is a directory, but not '.' or '..'