(PHP 5, PHP 7)
RecursiveDirectoryIterator::hasChildren — Returns whether current entry is a directory and not '.' or '..'
$allow_links
= FALSE
] ) : boolThis function is currently not documented; only its argument list is available.
allow_links
Returns whether the current entry is a directory, but not '.' or '..'