array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'class.directoryiterator.php', 1 => 'DirectoryIterator', ), 'up' => array ( 0 => 'spl.iterators.php', 1 => 'Iteratoren', ), 'prev' => array ( 0 => 'callbackfilteriterator.construct.php', 1 => 'CallbackFilterIterator::__construct', ), 'next' => array ( 0 => 'directoryiterator.construct.php', 1 => 'DirectoryIterator::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/directoryiterator.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.directoryiterator.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
The DirectoryIterator class provides a simple interface for viewing the contents of filesystem directories.
$mode
= "r", bool $useIncludePath
= false
, ?resource $context
= null
): SplFileObject