XXIV. Directory functions

介紹

需求

建立這個延伸不需要任何外部程式庫。

安裝

這些函數是PHP核心的一部分,不需要安裝就可使用。

執行時期組態

php.ini中沒有定義此延伸的組態指令。

資源類型

預先定義常數

這個延伸沒有定義任何常數。

參考

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

內容目錄
chdir -- Change directory
chroot -- Change the root directory
dir -- directory class
closedir -- close directory handle
getcwd -- gets the current working directory
opendir -- open directory handle
readdir -- read entry from directory handle
rewinddir -- rewind directory handle