Directory and File Functions

The following directory and file functions should be used in Zend modules (they behave exactly like their C counterparts):

Zend FunctionRegular 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()()