DirectoryIterator (class)

The DirectoryIterator class

Introduction

(PHP 5, PHP 7)

The DirectoryIterator class provides a simple interface for viewing the contents of filesystem directories.

Class synopsis

DirectoryIterator extends SplFileInfo implements SeekableIterator {
/* Methods */