(PHP 5 >= 5.3.0, PHP 7)
Constructs a new filesystem iterator
public FilesystemIterator::__construct ( string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS ] )
Constructs a new filesystem iterator from the path.
Parameters:
path
The path of the filesystem item to be iterated over.