27#define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 STREAMS_CC)
30#define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filename), (mode), (path), (opened), 0 STREAMS_CC)
33#define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_CC)
36#define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (persistent_id), false STREAMS_CC)
39#define php_stream_fopen_from_pipe(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_CC)
42#define php_stream_fopen_tmpfile() _php_stream_fopen_tmpfile(0 STREAMS_CC)
45#define php_stream_fopen_temporary_file(dir, pfx, opened_path) _php_stream_fopen_temporary_file((dir), (pfx), (opened_path) STREAMS_CC)
51#define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path), (mode), (options), (opened_path) STREAMS_CC)
file(string $filename, int $flags=0, $context=null)
dir(string $directory, $context=null)
PHP_JSON_API size_t int options
PHPAPI php_stream * _php_stream_fopen(const char *filename, const char *mode, zend_string **opened_path, int options STREAMS_DC)
PHPAPI php_stream * _php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC)
PHPAPI php_stream * _php_stream_fopen_with_path(const char *filename, const char *mode, const char *path, zend_string **opened_path, int options STREAMS_DC)
PHPAPI php_stream * _php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC)
PHPAPI php_stream * _php_stream_fopen_tmpfile(int dummy STREAMS_DC)
PHPAPI php_stream_wrapper php_plain_files_wrapper
PHPAPI php_stream * _php_stream_fopen_temporary_file(const char *dir, const char *pfx, zend_string **opened_path STREAMS_DC)
PHPAPI FILE * _php_stream_open_wrapper_as_file(char *path, char *mode, int options, zend_string **opened_path STREAMS_DC)
PHPAPI php_stream_ops php_stream_stdio_ops
PHPAPI int php_stream_parse_fopen_modes(const char *mode, int *open_flags)
PHPAPI php_stream * _php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id, bool zero_position STREAMS_DC)
struct _php_stream php_stream
struct _php_stream_ops php_stream_ops
struct _php_stream_wrapper php_stream_wrapper
struct _zend_string zend_string