Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<RecursiveDirectoryIterator::getSubPathnameRecursiveDirectoryIterator::key>
^RecursiveDirectoryIteratorLast updated: Mon, 26 Oct 2026

RecursiveDirectoryIterator::hasChildren

(PHP 5, PHP 7, PHP 8)

RecursiveDirectoryIterator::hasChildren — Returns whether current entry is a directory and not '.' or '..'

Description

public function RecursiveDirectoryIterator::hasChildren(bool $allowLinks = false): bool
Warning

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

Parameters

allowLinks

Return Values

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


<RecursiveDirectoryIterator::getSubPathnameRecursiveDirectoryIterator::key>
^RecursiveDirectoryIteratorLast updated: Mon, 26 Oct 2026