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