XXIII. Directory functions

Wprowadzenie

Wymagania

Do zbudowania tego rozszerzenia nie są wymagane żadne zewnętrzne biblioteki.

Instalacja

By używać tych funkcji, nie trzeba niczego instalować. Są one częścią jądra PHP.

Konfiguracja startowa

To rozszerzenie nie definiuje posiada żadnych dyrektyw konfiguracyjnych w pliku php.ini.

Typy zasobów

Predefiniowane stałe

Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane do PHP, lub załadowane dynamicznie przy starcie.

DIRECTORY_SEPARATOR (string)

PATH_SEPARATOR (string)

Notatka: The PATH_SEPARATOR was introduced with PHP 4.3.0-RC2.

Zobacz również

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

Spis treści
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
scandir --  List files and directories inside the specified path