php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zlib.stub.php File Reference

Go to the source code of this file.

Data Structures

class  InflateContext
 
class  DeflateContext
 

Functions

 ob_gzhandler (string $data, int $flags)
 
 zlib_get_coding_type ()
 
 gzfile (string $filename, int $use_include_path=0)
 
 gzopen (string $filename, string $mode, int $use_include_path=0)
 
 readgzfile (string $filename, int $use_include_path=0)
 
 zlib_encode (string $data, int $encoding, int $level=-1)
 
 zlib_decode (string $data, int $max_length=0)
 
 gzdeflate (string $data, int $level=-1, int $encoding=ZLIB_ENCODING_RAW)
 
 gzencode (string $data, int $level=-1, int $encoding=ZLIB_ENCODING_GZIP)
 
 gzcompress (string $data, int $level=-1, int $encoding=ZLIB_ENCODING_DEFLATE)
 
 gzinflate (string $data, int $max_length=0)
 
 gzdecode (string $data, int $max_length=0)
 
 gzuncompress (string $data, int $max_length=0)
 
 gzwrite ($stream, string $data, ?int $length=null)
 
 gzputs ($stream, string $data, ?int $length=null)
 
 gzrewind ($stream)
 
 gzclose ($stream)
 
 gzeof ($stream)
 
 gzgetc ($stream)
 
 gzpassthru ($stream)
 
 gzseek ($stream, int $offset, int $whence=SEEK_SET)
 
 gztell ($stream)
 
 gzread ($stream, int $length)
 
 gzgets ($stream, ?int $length=null)
 
 deflate_init (int $encoding, array|object $options=[])
 
 deflate_add (DeflateContext $context, string $data, int $flush_mode=ZLIB_SYNC_FLUSH)
 
 inflate_init (int $encoding, array|object $options=[])
 
 inflate_add (InflateContext $context, string $data, int $flush_mode=ZLIB_SYNC_FLUSH)
 
 inflate_get_status (InflateContext $context)
 
 inflate_get_read_len (InflateContext $context)
 

Variables

const FORCE_GZIP = UNKNOWN
 
const FORCE_DEFLATE = UNKNOWN
 
const ZLIB_ENCODING_RAW = UNKNOWN
 
const ZLIB_ENCODING_GZIP = UNKNOWN
 
const ZLIB_ENCODING_DEFLATE = UNKNOWN
 
const ZLIB_NO_FLUSH = UNKNOWN
 
const ZLIB_PARTIAL_FLUSH = UNKNOWN
 
const ZLIB_SYNC_FLUSH = UNKNOWN
 
const ZLIB_FULL_FLUSH = UNKNOWN
 
const ZLIB_BLOCK = UNKNOWN
 
const ZLIB_FINISH = UNKNOWN
 
const ZLIB_FILTERED = UNKNOWN
 
const ZLIB_HUFFMAN_ONLY = UNKNOWN
 
const ZLIB_RLE = UNKNOWN
 
const ZLIB_FIXED = UNKNOWN
 
const ZLIB_DEFAULT_STRATEGY = UNKNOWN
 
const ZLIB_VERSION = UNKNOWN
 
const ZLIB_VERNUM = UNKNOWN
 
const ZLIB_OK = UNKNOWN
 
const ZLIB_STREAM_END = UNKNOWN
 
const ZLIB_NEED_DICT = UNKNOWN
 
const ZLIB_ERRNO = UNKNOWN
 
const ZLIB_STREAM_ERROR = UNKNOWN
 
const ZLIB_DATA_ERROR = UNKNOWN
 
const ZLIB_MEM_ERROR = UNKNOWN
 
const ZLIB_BUF_ERROR = UNKNOWN
 
const ZLIB_VERSION_ERROR = UNKNOWN
 

Function Documentation

◆ deflate_add()

deflate_add ( DeflateContext $context,
string $data,
int $flush_mode = ZLIB_SYNC_FLUSH )

Definition at line 275 of file zlib.stub.php.

◆ deflate_init()

deflate_init ( int $encoding,
array|object $options = [] )

Definition at line 273 of file zlib.stub.php.

◆ gzclose()

gzclose ( $stream)
Parameters
resource$stream@alias fclose

Definition at line 229 of file zlib.stub.php.

◆ gzcompress()

gzcompress ( string $data,
int $level = -1,
int $encoding = ZLIB_ENCODING_DEFLATE )

@refcount 1

Definition at line 195 of file zlib.stub.php.

◆ gzdecode()

gzdecode ( string $data,
int $max_length = 0 )

@refcount 1

Definition at line 201 of file zlib.stub.php.

◆ gzdeflate()

gzdeflate ( string $data,
int $level = -1,
int $encoding = ZLIB_ENCODING_RAW )

@refcount 1

Definition at line 189 of file zlib.stub.php.

◆ gzencode()

gzencode ( string $data,
int $level = -1,
int $encoding = ZLIB_ENCODING_GZIP )

@refcount 1

Definition at line 192 of file zlib.stub.php.

◆ gzeof()

gzeof ( $stream)
Parameters
resource$stream@alias feof

Definition at line 235 of file zlib.stub.php.

◆ gzfile()

gzfile ( string $filename,
int $use_include_path = 0 )
Returns
array<int, string>|false @refcount 1

Definition at line 172 of file zlib.stub.php.

◆ gzgetc()

gzgetc ( $stream)
Parameters
resource$stream@alias fgetc

Definition at line 241 of file zlib.stub.php.

◆ gzgets()

gzgets ( $stream,
?int $length = null )
Parameters
resource$stream@alias fgets

Definition at line 271 of file zlib.stub.php.

◆ gzinflate()

gzinflate ( string $data,
int $max_length = 0 )

@refcount 1

Definition at line 198 of file zlib.stub.php.

◆ gzopen()

gzopen ( string $filename,
string $mode,
int $use_include_path = 0 )
Returns
resource|false @refcount 1

Definition at line 178 of file zlib.stub.php.

◆ gzpassthru()

gzpassthru ( $stream)
Parameters
resource$stream@alias fpassthru

Definition at line 247 of file zlib.stub.php.

◆ gzputs()

gzputs ( $stream,
string $data,
?int $length = null )
Parameters
resource$stream@alias fwrite @undocumentable gzputs is an alias of gzwrite, but transitive aliases are not yet supported

Definition at line 217 of file zlib.stub.php.

◆ gzread()

gzread ( $stream,
int $length )
Parameters
resource$stream@alias fread

Definition at line 265 of file zlib.stub.php.

◆ gzrewind()

gzrewind ( $stream)
Parameters
resource$stream@alias rewind

Definition at line 223 of file zlib.stub.php.

◆ gzseek()

gzseek ( $stream,
int $offset,
int $whence = SEEK_SET )
Parameters
resource$stream@alias fseek

Definition at line 253 of file zlib.stub.php.

◆ gztell()

gztell ( $stream)
Parameters
resource$stream@alias ftell

Definition at line 259 of file zlib.stub.php.

◆ gzuncompress()

gzuncompress ( string $data,
int $max_length = 0 )

@refcount 1

Definition at line 204 of file zlib.stub.php.

◆ gzwrite()

gzwrite ( $stream,
string $data,
?int $length = null )
Parameters
resource$stream@alias fwrite

Definition at line 210 of file zlib.stub.php.

◆ inflate_add()

inflate_add ( InflateContext $context,
string $data,
int $flush_mode = ZLIB_SYNC_FLUSH )

Definition at line 279 of file zlib.stub.php.

◆ inflate_get_read_len()

inflate_get_read_len ( InflateContext $context)

Definition at line 283 of file zlib.stub.php.

◆ inflate_get_status()

inflate_get_status ( InflateContext $context)

Definition at line 281 of file zlib.stub.php.

◆ inflate_init()

inflate_init ( int $encoding,
array|object $options = [] )

Definition at line 277 of file zlib.stub.php.

◆ ob_gzhandler()

ob_gzhandler ( string $data,
int $flags )

@refcount 1

Definition at line 163 of file zlib.stub.php.

◆ readgzfile()

readgzfile ( string $filename,
int $use_include_path = 0 )

Definition at line 180 of file zlib.stub.php.

◆ zlib_decode()

zlib_decode ( string $data,
int $max_length = 0 )

@refcount 1

Definition at line 186 of file zlib.stub.php.

◆ zlib_encode()

zlib_encode ( string $data,
int $encoding,
int $level = -1 )

@refcount 1

Definition at line 183 of file zlib.stub.php.

◆ zlib_get_coding_type()

zlib_get_coding_type ( )

@refcount 1

Definition at line 166 of file zlib.stub.php.

Variable Documentation

◆ FORCE_DEFLATE

const FORCE_DEFLATE = UNKNOWN

Definition at line 14 of file zlib.stub.php.

◆ FORCE_GZIP

const FORCE_GZIP = UNKNOWN

Definition at line 9 of file zlib.stub.php.

◆ ZLIB_BLOCK

const ZLIB_BLOCK = UNKNOWN

Definition at line 56 of file zlib.stub.php.

◆ ZLIB_BUF_ERROR

const ZLIB_BUF_ERROR = UNKNOWN

Definition at line 139 of file zlib.stub.php.

◆ ZLIB_DATA_ERROR

const ZLIB_DATA_ERROR = UNKNOWN

Definition at line 129 of file zlib.stub.php.

◆ ZLIB_DEFAULT_STRATEGY

const ZLIB_DEFAULT_STRATEGY = UNKNOWN

Definition at line 87 of file zlib.stub.php.

◆ ZLIB_ENCODING_DEFLATE

const ZLIB_ENCODING_DEFLATE = UNKNOWN

Definition at line 30 of file zlib.stub.php.

◆ ZLIB_ENCODING_GZIP

const ZLIB_ENCODING_GZIP = UNKNOWN

Definition at line 25 of file zlib.stub.php.

◆ ZLIB_ENCODING_RAW

const ZLIB_ENCODING_RAW = UNKNOWN

Definition at line 20 of file zlib.stub.php.

◆ ZLIB_ERRNO

const ZLIB_ERRNO = UNKNOWN

Definition at line 119 of file zlib.stub.php.

◆ ZLIB_FILTERED

const ZLIB_FILTERED = UNKNOWN

Definition at line 67 of file zlib.stub.php.

◆ ZLIB_FINISH

const ZLIB_FINISH = UNKNOWN

Definition at line 61 of file zlib.stub.php.

◆ ZLIB_FIXED

const ZLIB_FIXED = UNKNOWN

Definition at line 82 of file zlib.stub.php.

◆ ZLIB_FULL_FLUSH

const ZLIB_FULL_FLUSH = UNKNOWN

Definition at line 51 of file zlib.stub.php.

◆ ZLIB_HUFFMAN_ONLY

const ZLIB_HUFFMAN_ONLY = UNKNOWN

Definition at line 72 of file zlib.stub.php.

◆ ZLIB_MEM_ERROR

const ZLIB_MEM_ERROR = UNKNOWN

Definition at line 134 of file zlib.stub.php.

◆ ZLIB_NEED_DICT

const ZLIB_NEED_DICT = UNKNOWN

Definition at line 114 of file zlib.stub.php.

◆ ZLIB_NO_FLUSH

const ZLIB_NO_FLUSH = UNKNOWN

Definition at line 36 of file zlib.stub.php.

◆ ZLIB_OK

const ZLIB_OK = UNKNOWN

Definition at line 104 of file zlib.stub.php.

◆ ZLIB_PARTIAL_FLUSH

const ZLIB_PARTIAL_FLUSH = UNKNOWN

Definition at line 41 of file zlib.stub.php.

◆ ZLIB_RLE

const ZLIB_RLE = UNKNOWN

Definition at line 77 of file zlib.stub.php.

◆ ZLIB_STREAM_END

const ZLIB_STREAM_END = UNKNOWN

Definition at line 109 of file zlib.stub.php.

◆ ZLIB_STREAM_ERROR

const ZLIB_STREAM_ERROR = UNKNOWN

Definition at line 124 of file zlib.stub.php.

◆ ZLIB_SYNC_FLUSH

const ZLIB_SYNC_FLUSH = UNKNOWN

Definition at line 46 of file zlib.stub.php.

◆ ZLIB_VERNUM

const ZLIB_VERNUM = UNKNOWN

Definition at line 98 of file zlib.stub.php.

◆ ZLIB_VERSION

const ZLIB_VERSION = UNKNOWN

Definition at line 93 of file zlib.stub.php.

◆ ZLIB_VERSION_ERROR

const ZLIB_VERSION_ERROR = UNKNOWN

Definition at line 144 of file zlib.stub.php.