#include "php.h"
#include "fopen_wrappers.h"
#include "file.h"
#include "php_dir.h"
#include "php_dir_int.h"
#include "php_scandir.h"
#include "basic_functions.h"
#include "dir_arginfo.h"
#include <errno.h>
Go to the source code of this file.
◆ DIRG
Value:
php_dir_globals dir_globals
Definition at line 46 of file dir.c.
◆ FETCH_DIRP
Value:
if (!myself) { \
ZEND_PARSE_PARAMETERS_START(0, 1) \
Z_PARAM_OPTIONAL \
Z_PARAM_RESOURCE_OR_NULL(id) \
ZEND_PARSE_PARAMETERS_END(); \
if (id) { \
RETURN_THROWS(); \
} \
} else { \
if (!
DIRG(default_dir)) { \
zend_type_error("No resource supplied"); \
RETURN_THROWS(); \
} \
RETURN_THROWS(); \
} \
} \
} else { \
ZEND_PARSE_PARAMETERS_NONE(); \
zend_throw_error(
NULL,
"Unable to find my handle property"); \
RETURN_THROWS(); \
} \
RETURN_THROWS(); \
} \
}
#define Z_DIRECTORY_HANDLE_P(zv)
struct _php_stream php_stream
PHPAPI int php_file_le_stream(void)
ZEND_API void * zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type)
ZEND_API void * zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type)
Definition at line 55 of file dir.c.
◆ Z_DIRECTORY_HANDLE_P
Value:
#define OBJ_PROP_NUM(obj, num)
Definition at line 53 of file dir.c.
◆ Z_DIRECTORY_PATH_P
Value:
Definition at line 52 of file dir.c.
◆ PHP_FUNCTION() [1/8]
◆ PHP_FUNCTION() [2/8]
◆ PHP_FUNCTION() [3/8]
◆ PHP_FUNCTION() [4/8]
◆ PHP_FUNCTION() [5/8]
◆ PHP_FUNCTION() [6/8]
◆ PHP_FUNCTION() [7/8]
◆ PHP_FUNCTION() [8/8]
◆ PHP_MINIT_FUNCTION()
PHP_MINIT_FUNCTION |
( |
dir | | ) |
|
◆ PHP_RINIT_FUNCTION()
PHP_RINIT_FUNCTION |
( |
dir | | ) |
|
◆ dir_globals
Definition at line 47 of file dir.c.