RecursiveDirectoryIterator
PHP Manual

RecursiveDirectoryIterator::hasChildren

(PHP 5, PHP 7)

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

Description

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

This function is currently not documented; only its argument list is available.

Parameters

allow_links

Return Values

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


RecursiveDirectoryIterator
PHP Manual