Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
spl /
Delete
Unzip
Name
Size
Permission
Date
Action
.libs
[ DIR ]
drwxr-xr-x
2024-03-12 14:30
tests
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
CREDITS
35
B
-rw-rw-r--
2022-10-31 11:36
config.m4
451
B
-rw-rw-r--
2022-10-31 11:36
config.w32
469
B
-rw-rw-r--
2022-10-31 11:36
php_spl.c
32.45
KB
-rw-rw-r--
2022-10-31 11:36
php_spl.h
2.38
KB
-rw-rw-r--
2022-10-31 11:36
php_spl.lo
320
B
-rw-r--r--
2024-03-12 14:30
php_spl.o
246.29
KB
-rw-r--r--
2024-03-12 14:30
spl_array.c
63.62
KB
-rw-rw-r--
2022-10-31 11:36
spl_array.h
1.59
KB
-rw-rw-r--
2022-10-31 11:36
spl_array.lo
326
B
-rw-r--r--
2024-03-12 14:30
spl_array.o
307.99
KB
-rw-r--r--
2024-03-12 14:30
spl_directory.c
96.72
KB
-rw-rw-r--
2022-10-31 11:36
spl_directory.h
6
KB
-rw-rw-r--
2022-10-31 11:36
spl_directory.lo
338
B
-rw-r--r--
2024-03-12 14:30
spl_directory.o
551.21
KB
-rw-r--r--
2024-03-12 14:30
spl_dllist.c
39.88
KB
-rw-rw-r--
2022-10-31 11:36
spl_dllist.h
1.41
KB
-rw-rw-r--
2022-10-31 11:36
spl_dllist.lo
329
B
-rw-r--r--
2024-03-12 14:30
spl_dllist.o
176.02
KB
-rw-r--r--
2024-03-12 14:30
spl_engine.c
2.01
KB
-rw-rw-r--
2022-10-31 11:36
spl_engine.h
2.7
KB
-rw-rw-r--
2022-10-31 11:36
spl_engine.lo
329
B
-rw-r--r--
2024-03-12 14:30
spl_engine.o
73.11
KB
-rw-r--r--
2024-03-12 14:30
spl_exceptions.c
3.33
KB
-rw-rw-r--
2022-10-31 11:36
spl_exceptions.h
2.03
KB
-rw-rw-r--
2022-10-31 11:36
spl_exceptions.lo
341
B
-rw-r--r--
2024-03-12 14:30
spl_exceptions.o
75.41
KB
-rw-r--r--
2024-03-12 14:30
spl_fixedarray.c
29.5
KB
-rw-rw-r--
2022-10-31 11:36
spl_fixedarray.h
1.35
KB
-rw-rw-r--
2022-10-31 11:36
spl_fixedarray.lo
341
B
-rw-r--r--
2024-03-12 14:30
spl_fixedarray.o
195.63
KB
-rw-r--r--
2024-03-12 14:30
spl_functions.c
4.54
KB
-rw-rw-r--
2022-10-31 11:36
spl_functions.h
4.17
KB
-rw-rw-r--
2022-10-31 11:36
spl_functions.lo
338
B
-rw-r--r--
2024-03-12 14:30
spl_functions.o
81.1
KB
-rw-r--r--
2024-03-12 14:30
spl_heap.c
33.96
KB
-rw-rw-r--
2022-10-31 11:36
spl_heap.h
1.46
KB
-rw-rw-r--
2022-10-31 11:36
spl_heap.lo
323
B
-rw-r--r--
2024-03-12 14:30
spl_heap.o
220.04
KB
-rw-r--r--
2024-03-12 14:30
spl_iterators.c
120.44
KB
-rw-rw-r--
2022-10-31 11:36
spl_iterators.h
5.56
KB
-rw-rw-r--
2022-10-31 11:36
spl_iterators.lo
338
B
-rw-r--r--
2024-03-12 14:30
spl_iterators.o
649.43
KB
-rw-r--r--
2024-03-12 14:30
spl_observer.c
39.81
KB
-rw-rw-r--
2022-10-31 11:36
spl_observer.h
1.48
KB
-rw-rw-r--
2022-10-31 11:36
spl_observer.lo
335
B
-rw-r--r--
2024-03-12 14:30
spl_observer.o
199.69
KB
-rw-r--r--
2024-03-12 14:30
Save
Rename
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Marcus Boerger <helly@php.net> | +----------------------------------------------------------------------+ */ #ifndef SPL_DIRECTORY_H #define SPL_DIRECTORY_H #include "php.h" #include "php_spl.h" extern PHPAPI zend_class_entry *spl_ce_SplFileInfo; extern PHPAPI zend_class_entry *spl_ce_DirectoryIterator; extern PHPAPI zend_class_entry *spl_ce_FilesystemIterator; extern PHPAPI zend_class_entry *spl_ce_RecursiveDirectoryIterator; extern PHPAPI zend_class_entry *spl_ce_GlobIterator; extern PHPAPI zend_class_entry *spl_ce_SplFileObject; extern PHPAPI zend_class_entry *spl_ce_SplTempFileObject; PHP_MINIT_FUNCTION(spl_directory); typedef enum { SPL_FS_INFO, /* must be 0 */ SPL_FS_DIR, SPL_FS_FILE } SPL_FS_OBJ_TYPE; typedef struct _spl_filesystem_object spl_filesystem_object; typedef void (*spl_foreign_dtor_t)(spl_filesystem_object *object); typedef void (*spl_foreign_clone_t)(spl_filesystem_object *src, spl_filesystem_object *dst); PHPAPI char* spl_filesystem_object_get_path(spl_filesystem_object *intern, size_t *len); typedef struct _spl_other_handler { spl_foreign_dtor_t dtor; spl_foreign_clone_t clone; } spl_other_handler; /* define an overloaded iterator structure */ typedef struct { zend_object_iterator intern; zval current; void *object; } spl_filesystem_iterator; struct _spl_filesystem_object { void *oth; const spl_other_handler *oth_handler; char *_path; size_t _path_len; char *orig_path; char *file_name; size_t file_name_len; SPL_FS_OBJ_TYPE type; zend_long flags; zend_class_entry *file_class; zend_class_entry *info_class; union { struct { php_stream *dirp; php_stream_dirent entry; char *sub_path; size_t sub_path_len; int index; int is_recursive; zend_function *func_rewind; zend_function *func_next; zend_function *func_valid; } dir; struct { php_stream *stream; php_stream_context *context; zval *zcontext; char *open_mode; size_t open_mode_len; zval current_zval; char *current_line; size_t current_line_len; size_t max_line_len; zend_long current_line_num; zval zresource; zend_function *func_getCurr; char delimiter; char enclosure; int escape; } file; } u; zend_object std; }; static inline spl_filesystem_object *spl_filesystem_from_obj(zend_object *obj) /* {{{ */ { return (spl_filesystem_object*)((char*)(obj) - XtOffsetOf(spl_filesystem_object, std)); } /* }}} */ #define Z_SPLFILESYSTEM_P(zv) spl_filesystem_from_obj(Z_OBJ_P((zv))) static inline spl_filesystem_iterator* spl_filesystem_object_to_iterator(spl_filesystem_object *obj) { spl_filesystem_iterator *it; it = ecalloc(1, sizeof(spl_filesystem_iterator)); it->object = (void *)obj; zend_iterator_init(&it->intern); return it; } static inline spl_filesystem_object* spl_filesystem_iterator_to_object(spl_filesystem_iterator *it) { return (spl_filesystem_object*)it->object; } #define SPL_FILE_OBJECT_DROP_NEW_LINE 0x00000001 /* drop new lines */ #define SPL_FILE_OBJECT_READ_AHEAD 0x00000002 /* read on rewind/next */ #define SPL_FILE_OBJECT_SKIP_EMPTY 0x00000004 /* skip empty lines */ #define SPL_FILE_OBJECT_READ_CSV 0x00000008 /* read via fgetcsv */ #define SPL_FILE_OBJECT_MASK 0x0000000F /* read via fgetcsv */ #define SPL_FILE_DIR_CURRENT_AS_FILEINFO 0x00000000 /* make RecursiveDirectoryTree::current() return SplFileInfo */ #define SPL_FILE_DIR_CURRENT_AS_SELF 0x00000010 /* make RecursiveDirectoryTree::current() return getSelf() */ #define SPL_FILE_DIR_CURRENT_AS_PATHNAME 0x00000020 /* make RecursiveDirectoryTree::current() return getPathname() */ #define SPL_FILE_DIR_CURRENT_MODE_MASK 0x000000F0 /* mask RecursiveDirectoryTree::current() */ #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) #define SPL_FILE_DIR_KEY_AS_PATHNAME 0x00000000 /* make RecursiveDirectoryTree::key() return getPathname() */ #define SPL_FILE_DIR_KEY_AS_FILENAME 0x00000100 /* make RecursiveDirectoryTree::key() return getFilename() */ #define SPL_FILE_DIR_FOLLOW_SYMLINKS 0x00000200 /* make RecursiveDirectoryTree::hasChildren() follow symlinks */ #define SPL_FILE_DIR_KEY_MODE_MASK 0x00000F00 /* mask RecursiveDirectoryTree::key() */ #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) #define SPL_FILE_DIR_SKIPDOTS 0x00001000 /* Tells whether it should skip dots or not */ #define SPL_FILE_DIR_UNIXPATHS 0x00002000 /* Whether to unixify path separators */ #define SPL_FILE_DIR_OTHERS_MASK 0x00003000 /* mask used for get/setFlags */ #endif /* SPL_DIRECTORY_H */