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