PHP. Руководство по PHP. 2005
Directory and File Functions
Глава 46. Source Layout
Directory and File Functions
The following directory and file functions should be used in Zend modules. They behave exactly like their C counterparts, but provide virtual working directory support on the thread level.
Zend Function | Regular C Function |
V_GETCWD() | getcwd() |
V_FOPEN() | fopen() |
V_OPEN() | open() |
V_CHDIR() | chdir() |
V_GETWD() | getwd() |
V_CHDIR_FILE() | - Takes a file path as an argument and changes the current working directory to that file's directory. |
V_STAT() | stat() |
V_LSTAT() | lstat() |
Memory Management
String Handling