PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Directory Functions

(No version information available, might only be in SVN)

See Also

For related functions such as dirname(), is_dir(), mkdir(), and rmdir(), see the Filesystem section.

Table of Contents

  • 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

PHP Manual