17#ifndef SPL_DIRECTORY_H
18#define SPL_DIRECTORY_H
91#define SPL_FILE_OBJECT_DROP_NEW_LINE 0x00000001
92#define SPL_FILE_OBJECT_READ_AHEAD 0x00000002
93#define SPL_FILE_OBJECT_SKIP_EMPTY 0x00000004
94#define SPL_FILE_OBJECT_READ_CSV 0x00000008
95#define SPL_FILE_OBJECT_MASK 0x0000000F
97#define SPL_FILE_DIR_CURRENT_AS_FILEINFO 0x00000000
98#define SPL_FILE_DIR_CURRENT_AS_SELF 0x00000010
99#define SPL_FILE_DIR_CURRENT_AS_PATHNAME 0x00000020
100#define SPL_FILE_DIR_CURRENT_MODE_MASK 0x000000F0
101#define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode)
103#define SPL_FILE_DIR_KEY_AS_PATHNAME 0x00000000
104#define SPL_FILE_DIR_KEY_AS_FILENAME 0x00000100
105#define SPL_FILE_DIR_KEY_MODE_MASK 0x00000F00
106#define SPL_FILE_NEW_CURRENT_AND_KEY SPL_FILE_DIR_KEY_AS_FILENAME|SPL_FILE_DIR_CURRENT_AS_FILEINFO
107#define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode)
109#define SPL_FILE_DIR_SKIPDOTS 0x00001000
110#define SPL_FILE_DIR_UNIXPATHS 0x00002000
111#define SPL_FILE_DIR_FOLLOW_SYMLINKS 0x00004000
112#define SPL_FILE_DIR_OTHERS_MASK 0x00007000
file(string $filename, int $flags=0, $context=null)
dir(string $directory, $context=null)
#define PHP_MINIT_FUNCTION
struct _php_stream php_stream
struct _php_stream_context php_stream_context
struct _php_stream_dirent php_stream_dirent
PHPAPI zend_class_entry * spl_ce_FilesystemIterator
PHPAPI zend_class_entry * spl_ce_SplFileObject
PHPAPI zend_class_entry * spl_ce_SplTempFileObject
PHPAPI zend_class_entry * spl_ce_SplFileInfo
PHPAPI zend_class_entry * spl_ce_GlobIterator
PHPAPI zend_class_entry * spl_ce_DirectoryIterator
PHPAPI zend_class_entry * spl_ce_RecursiveDirectoryIterator
PHPAPI zend_string * spl_filesystem_object_get_path(const spl_filesystem_object *intern)
struct _spl_filesystem_object spl_filesystem_object
void(* spl_foreign_clone_t)(spl_filesystem_object *src, spl_filesystem_object *dst)
void(* spl_foreign_dtor_t)(spl_filesystem_object *object)
struct _spl_other_handler spl_other_handler
zend_function * func_next
zend_function * func_rewind
zend_function * func_valid
php_stream_context * context
zend_long current_line_num
zend_string * current_line
const spl_other_handler * oth_handler
zend_class_entry * file_class
zend_function * func_getCurr
zend_class_entry * info_class
spl_foreign_clone_t clone
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
union _zend_function zend_function
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object