PHP Manual
Function Reference
File System Related Extensions
Direct IO
Directories
Fileinfo
Filesystem
Inotify
xattr
xdiff
dio_write
Predefined Constants
File System Related Extensions
PHP Manual
Directories
Table of Contents
Predefined Constants
Directory
— The Directory class
Directory::close
— Close directory handle
Directory::read
— Read entry from directory handle
Directory::rewind
— Rewind directory handle
Directory Functions
chdir
— Change directory
chroot
— Change the root directory
closedir
— Close directory handle
dir
— Return an instance of the Directory class
getcwd
— Gets the current working directory
opendir
— Open directory handle
readdir
— Read entry from directory handle
rewinddir
— Rewind directory handle
scandir
— List files and directories inside the specified path