php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zlib_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: a86ccc292b5312e740a9d798bfcaf014513d5cce */
3
8
11
13 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
16
17ZEND_BEGIN_ARG_INFO_EX(arginfo_gzopen, 0, 0, 2)
18 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
22
24 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
27
33
38
42 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_LONG, 0, "ZLIB_ENCODING_RAW")
44
48 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_LONG, 0, "ZLIB_ENCODING_GZIP")
50
54 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_LONG, 0, "ZLIB_ENCODING_DEFLATE")
56
57#define arginfo_gzinflate arginfo_zlib_decode
58
59#define arginfo_gzdecode arginfo_zlib_decode
60
61#define arginfo_gzuncompress arginfo_zlib_decode
62
64 ZEND_ARG_INFO(0, stream)
68
69#define arginfo_gzputs arginfo_gzwrite
70
71ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gzrewind, 0, 1, _IS_BOOL, 0)
72 ZEND_ARG_INFO(0, stream)
74
75#define arginfo_gzclose arginfo_gzrewind
76
77#define arginfo_gzeof arginfo_gzrewind
78
80 ZEND_ARG_INFO(0, stream)
82
83ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gzpassthru, 0, 1, IS_LONG, 0)
84 ZEND_ARG_INFO(0, stream)
86
88 ZEND_ARG_INFO(0, stream)
90 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "SEEK_SET")
92
94 ZEND_ARG_INFO(0, stream)
96
98 ZEND_ARG_INFO(0, stream)
99 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
101
103 ZEND_ARG_INFO(0, stream)
106
111
115 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flush_mode, IS_LONG, 0, "ZLIB_SYNC_FLUSH")
117
122
126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flush_mode, IS_LONG, 0, "ZLIB_SYNC_FLUSH")
128
129ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_inflate_get_status, 0, 1, IS_LONG, 0)
132
133#define arginfo_inflate_get_read_len arginfo_inflate_get_status
134
164
165static const zend_function_entry ext_functions[] = {
166 ZEND_FE(ob_gzhandler, arginfo_ob_gzhandler)
167 ZEND_FE(zlib_get_coding_type, arginfo_zlib_get_coding_type)
168 ZEND_FE(gzfile, arginfo_gzfile)
169 ZEND_FE(gzopen, arginfo_gzopen)
170 ZEND_FE(readgzfile, arginfo_readgzfile)
171 ZEND_FE(zlib_encode, arginfo_zlib_encode)
172 ZEND_FE(zlib_decode, arginfo_zlib_decode)
173 ZEND_FE(gzdeflate, arginfo_gzdeflate)
174 ZEND_FE(gzencode, arginfo_gzencode)
175 ZEND_FE(gzcompress, arginfo_gzcompress)
179 ZEND_RAW_FENTRY("gzwrite", zif_fwrite, arginfo_gzwrite, 0, NULL, NULL)
180 ZEND_RAW_FENTRY("gzputs", zif_fwrite, arginfo_gzputs, 0, NULL, NULL)
181 ZEND_RAW_FENTRY("gzrewind", zif_rewind, arginfo_gzrewind, 0, NULL, NULL)
182 ZEND_RAW_FENTRY("gzclose", zif_fclose, arginfo_gzclose, 0, NULL, NULL)
183 ZEND_RAW_FENTRY("gzeof", zif_feof, arginfo_gzeof, 0, NULL, NULL)
184 ZEND_RAW_FENTRY("gzgetc", zif_fgetc, arginfo_gzgetc, 0, NULL, NULL)
185 ZEND_RAW_FENTRY("gzpassthru", zif_fpassthru, arginfo_gzpassthru, 0, NULL, NULL)
186 ZEND_RAW_FENTRY("gzseek", zif_fseek, arginfo_gzseek, 0, NULL, NULL)
187 ZEND_RAW_FENTRY("gztell", zif_ftell, arginfo_gztell, 0, NULL, NULL)
188 ZEND_RAW_FENTRY("gzread", zif_fread, arginfo_gzread, 0, NULL, NULL)
189 ZEND_RAW_FENTRY("gzgets", zif_fgets, arginfo_gzgets, 0, NULL, NULL)
190 ZEND_FE(deflate_init, arginfo_deflate_init)
191 ZEND_FE(deflate_add, arginfo_deflate_add)
192 ZEND_FE(inflate_init, arginfo_inflate_init)
193 ZEND_FE(inflate_add, arginfo_inflate_add)
194 ZEND_FE(inflate_get_status, arginfo_inflate_get_status)
197};
198
199static void register_zlib_symbols(int module_number)
200{
206 REGISTER_LONG_CONSTANT("ZLIB_NO_FLUSH", Z_NO_FLUSH, CONST_PERSISTENT);
207 REGISTER_LONG_CONSTANT("ZLIB_PARTIAL_FLUSH", Z_PARTIAL_FLUSH, CONST_PERSISTENT);
208 REGISTER_LONG_CONSTANT("ZLIB_SYNC_FLUSH", Z_SYNC_FLUSH, CONST_PERSISTENT);
209 REGISTER_LONG_CONSTANT("ZLIB_FULL_FLUSH", Z_FULL_FLUSH, CONST_PERSISTENT);
210 REGISTER_LONG_CONSTANT("ZLIB_BLOCK", Z_BLOCK, CONST_PERSISTENT);
211 REGISTER_LONG_CONSTANT("ZLIB_FINISH", Z_FINISH, CONST_PERSISTENT);
212 REGISTER_LONG_CONSTANT("ZLIB_FILTERED", Z_FILTERED, CONST_PERSISTENT);
213 REGISTER_LONG_CONSTANT("ZLIB_HUFFMAN_ONLY", Z_HUFFMAN_ONLY, CONST_PERSISTENT);
214 REGISTER_LONG_CONSTANT("ZLIB_RLE", Z_RLE, CONST_PERSISTENT);
215 REGISTER_LONG_CONSTANT("ZLIB_FIXED", Z_FIXED, CONST_PERSISTENT);
216 REGISTER_LONG_CONSTANT("ZLIB_DEFAULT_STRATEGY", Z_DEFAULT_STRATEGY, CONST_PERSISTENT);
220 REGISTER_LONG_CONSTANT("ZLIB_STREAM_END", Z_STREAM_END, CONST_PERSISTENT);
221 REGISTER_LONG_CONSTANT("ZLIB_NEED_DICT", Z_NEED_DICT, CONST_PERSISTENT);
222 REGISTER_LONG_CONSTANT("ZLIB_ERRNO", Z_ERRNO, CONST_PERSISTENT);
223 REGISTER_LONG_CONSTANT("ZLIB_STREAM_ERROR", Z_STREAM_ERROR, CONST_PERSISTENT);
224 REGISTER_LONG_CONSTANT("ZLIB_DATA_ERROR", Z_DATA_ERROR, CONST_PERSISTENT);
225 REGISTER_LONG_CONSTANT("ZLIB_MEM_ERROR", Z_MEM_ERROR, CONST_PERSISTENT);
226 REGISTER_LONG_CONSTANT("ZLIB_BUF_ERROR", Z_BUF_ERROR, CONST_PERSISTENT);
227 REGISTER_LONG_CONSTANT("ZLIB_VERSION_ERROR", Z_VERSION_ERROR, CONST_PERSISTENT);
228}
229
230static zend_class_entry *register_class_InflateContext(void)
231{
232 zend_class_entry ce, *class_entry;
233
234 INIT_CLASS_ENTRY(ce, "InflateContext", NULL);
236
237 return class_entry;
238}
239
240static zend_class_entry *register_class_DeflateContext(void)
241{
242 zend_class_entry ce, *class_entry;
243
244 INIT_CLASS_ENTRY(ce, "DeflateContext", NULL);
246
247 return class_entry;
248}
rewind($stream)
fgetc($stream)
feof($stream)
fseek($stream, int $offset, int $whence=SEEK_SET)
fwrite($stream, string $data, ?int $length=null)
fclose($stream)
ftell($stream)
fread($stream, int $length)
fpassthru($stream)
fgets($stream, ?int $length=null)
bool use_include_path
zend_long offset
char * mode
#define NULL
Definition gdcache.h:45
PHP_JSON_API size_t int options
Definition php_json.h:102
xmlCharEncodingHandlerPtr encoding
Definition php_soap.h:170
php_zlib_context * ob_gzhandler
Definition php_zlib.h:58
#define PHP_ZLIB_ENCODING_RAW
Definition php_zlib.h:27
#define PHP_ZLIB_ENCODING_DEFLATE
Definition php_zlib.h:29
#define PHP_ZLIB_ENCODING_GZIP
Definition php_zlib.h:28
zend_constant * data
Definition dce.c:49
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
Definition zend_API.c:3512
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
Definition zend_API.h:195
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
Definition zend_API.h:185
#define ZEND_FE_END
Definition zend_API.h:124
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
Definition zend_API.h:279
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
Definition zend_API.h:80
#define ZEND_ARG_INFO(pass_by_ref, name)
Definition zend_API.h:130
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
Definition zend_API.h:146
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
Definition zend_API.h:154
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
Definition zend_API.h:140
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:138
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
Definition zend_API.h:214
#define ZEND_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_FINAL
#define ZEND_ACC_NOT_SERIALIZABLE
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define CONST_PERSISTENT
#define REGISTER_LONG_CONSTANT(name, lval, flags)
struct _zend_class_entry zend_class_entry
#define MAY_BE_STRING
#define MAY_BE_FALSE
#define MAY_BE_LONG
#define MAY_BE_OBJECT
#define MAY_BE_ARRAY
#define IS_STRING
Definition zend_types.h:606
#define IS_LONG
Definition zend_types.h:604
#define _IS_BOOL
Definition zend_types.h:629
gzdeflate(string $data, int $level=-1, int $encoding=ZLIB_ENCODING_RAW)
gzopen(string $filename, string $mode, int $use_include_path=0)
deflate_add(DeflateContext $context, string $data, int $flush_mode=ZLIB_SYNC_FLUSH)
gzcompress(string $data, int $level=-1, int $encoding=ZLIB_ENCODING_DEFLATE)
inflate_add(InflateContext $context, string $data, int $flush_mode=ZLIB_SYNC_FLUSH)
gzencode(string $data, int $level=-1, int $encoding=ZLIB_ENCODING_GZIP)
gzuncompress(string $data, int $max_length=0)
gzinflate(string $data, int $max_length=0)
inflate_get_status(InflateContext $context)
gzfile(string $filename, int $use_include_path=0)
zlib_encode(string $data, int $encoding, int $level=-1)
zlib_decode(string $data, int $max_length=0)
inflate_get_read_len(InflateContext $context)
inflate_init(int $encoding, array|object $options=[])
gzdecode(string $data, int $max_length=0)
deflate_init(int $encoding, array|object $options=[])
zlib_get_coding_type()
readgzfile(string $filename, int $use_include_path=0)
const ZLIB_VERSION
Definition zlib.stub.php:93
const ZLIB_VERNUM
Definition zlib.stub.php:98
#define arginfo_inflate_get_read_len
#define arginfo_gzputs
#define arginfo_gzeof
#define arginfo_gzclose
#define arginfo_gzdecode
#define arginfo_gzinflate
#define arginfo_gzuncompress