opendir

opendir

(PHP 4, PHP 5, PHP 7)

opendirOpen directory handle

Description

resource opendir ( string $path [, resource $context ] )

Opens up a directory handle to be used in subsequent closedir(), readdir(), and rewinddir() calls.