The GlobIterator class
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Einführung
Iterates through a file system in a similar fashion to glob().
Klassenbeschreibung
$pattern
, int $flags
= FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO)$mode
= "r", bool $useIncludePath
= false
, ?resource $context
= null
): SplFileObjectInhaltsverzeichnis
- GlobIterator::__construct — Construct a directory using glob
- GlobIterator::count — Get the number of directories and files