1<?php 2 3/** @generate-class-entries */ 4 5/** 6 * @strict-properties 7 * @not-serializable 8 */ 9final class InflateContext 10{ 11} 12 13/** 14 * @strict-properties 15 * @not-serializable 16 */ 17final class DeflateContext 18{ 19} 20 21/** @refcount 1 */ 22function ob_gzhandler(string $data, int $flags): string|false {} 23 24/** @refcount 1 */ 25function zlib_get_coding_type(): string|false {} 26 27/** 28 * @return array<int, string>|false 29 * @refcount 1 30 */ 31function gzfile(string $filename, int $use_include_path = 0): array|false {} 32 33/** 34 * @return resource|false 35 * @refcount 1 36 */ 37function gzopen(string $filename, string $mode, int $use_include_path = 0) {} 38 39function readgzfile(string $filename, int $use_include_path = 0): int|false {} 40 41/** @refcount 1 */ 42function zlib_encode(string $data, int $encoding, int $level = -1): string|false {} 43 44/** @refcount 1 */ 45function zlib_decode(string $data, int $max_length = 0): string|false {} 46 47/** @refcount 1 */ 48function gzdeflate(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_RAW): string|false {} 49 50/** @refcount 1 */ 51function gzencode(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_GZIP): string|false {} 52 53/** @refcount 1 */ 54function gzcompress(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_DEFLATE): string|false {} 55 56/** @refcount 1 */ 57function gzinflate(string $data, int $max_length = 0): string|false {} 58 59/** @refcount 1 */ 60function gzdecode(string $data, int $max_length = 0): string|false {} 61 62/** @refcount 1 */ 63function gzuncompress(string $data, int $max_length = 0): string|false {} 64 65/** 66 * @param resource $stream 67 * @alias fwrite 68 */ 69function gzwrite($stream, string $data, ?int $length = null): int|false {} 70 71/** 72 * @param resource $stream 73 * @alias fwrite 74 */ 75function gzputs($stream, string $data, ?int $length = null): int|false {} 76 77/** 78 * @param resource $stream 79 * @alias rewind 80 */ 81function gzrewind($stream): bool {} 82 83/** 84 * @param resource $stream 85 * @alias fclose 86 */ 87function gzclose($stream): bool {} 88 89/** 90 * @param resource $stream 91 * @alias feof 92 */ 93function gzeof($stream): bool {} 94 95/** 96 * @param resource $stream 97 * @alias fgetc 98 */ 99function gzgetc($stream): string|false {} 100 101/** 102 * @param resource $stream 103 * @alias fpassthru 104 */ 105function gzpassthru($stream): int {} 106 107/** 108 * @param resource $stream 109 * @alias fseek 110 */ 111function gzseek($stream, int $offset, int $whence = SEEK_SET): int {} 112 113/** 114 * @param resource $stream 115 * @alias ftell 116 */ 117function gztell($stream): int|false {} 118 119/** 120 * @param resource $stream 121 * @alias fread 122 */ 123function gzread($stream, int $length): string|false {} 124 125/** 126 * @param resource $stream 127 * @alias fgets 128 */ 129function gzgets($stream, ?int $length = null): string|false {} 130 131function deflate_init(int $encoding, array $options = []): DeflateContext|false {} 132 133function deflate_add(DeflateContext $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH): string|false {} 134 135function inflate_init(int $encoding, array $options = []): InflateContext|false {} 136 137function inflate_add(InflateContext $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH): string|false {} 138 139function inflate_get_status(InflateContext $context): int {} 140 141function inflate_get_read_len(InflateContext $context): int {} 142