123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <?php
- /** @generate-class-entries */
- /**
- * @strict-properties
- * @not-serializable
- */
- final class InflateContext
- {
- }
- /**
- * @strict-properties
- * @not-serializable
- */
- final class DeflateContext
- {
- }
- /** @refcount 1 */
- function ob_gzhandler(string $data, int $flags): string|false {}
- /** @refcount 1 */
- function zlib_get_coding_type(): string|false {}
- /**
- * @return array<int, string>|false
- * @refcount 1
- */
- function gzfile(string $filename, int $use_include_path = 0): array|false {}
- /**
- * @return resource|false
- * @refcount 1
- */
- function gzopen(string $filename, string $mode, int $use_include_path = 0) {}
- function readgzfile(string $filename, int $use_include_path = 0): int|false {}
- /** @refcount 1 */
- function zlib_encode(string $data, int $encoding, int $level = -1): string|false {}
- /** @refcount 1 */
- function zlib_decode(string $data, int $max_length = 0): string|false {}
- /** @refcount 1 */
- function gzdeflate(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_RAW): string|false {}
- /** @refcount 1 */
- function gzencode(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_GZIP): string|false {}
- /** @refcount 1 */
- function gzcompress(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_DEFLATE): string|false {}
- /** @refcount 1 */
- function gzinflate(string $data, int $max_length = 0): string|false {}
- /** @refcount 1 */
- function gzdecode(string $data, int $max_length = 0): string|false {}
- /** @refcount 1 */
- function gzuncompress(string $data, int $max_length = 0): string|false {}
- /**
- * @param resource $stream
- * @alias fwrite
- */
- function gzwrite($stream, string $data, ?int $length = null): int|false {}
- /**
- * @param resource $stream
- * @alias fwrite
- */
- function gzputs($stream, string $data, ?int $length = null): int|false {}
- /**
- * @param resource $stream
- * @alias rewind
- */
- function gzrewind($stream): bool {}
- /**
- * @param resource $stream
- * @alias fclose
- */
- function gzclose($stream): bool {}
- /**
- * @param resource $stream
- * @alias feof
- */
- function gzeof($stream): bool {}
- /**
- * @param resource $stream
- * @alias fgetc
- */
- function gzgetc($stream): string|false {}
- /**
- * @param resource $stream
- * @alias fpassthru
- */
- function gzpassthru($stream): int {}
- /**
- * @param resource $stream
- * @alias fseek
- */
- function gzseek($stream, int $offset, int $whence = SEEK_SET): int {}
- /**
- * @param resource $stream
- * @alias ftell
- */
- function gztell($stream): int|false {}
- /**
- * @param resource $stream
- * @alias fread
- */
- function gzread($stream, int $length): string|false {}
- /**
- * @param resource $stream
- * @alias fgets
- */
- function gzgets($stream, ?int $length = null): string|false {}
- function deflate_init(int $encoding, array $options = []): DeflateContext|false {}
- function deflate_add(DeflateContext $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH): string|false {}
- function inflate_init(int $encoding, array $options = []): InflateContext|false {}
- function inflate_add(InflateContext $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH): string|false {}
- function inflate_get_status(InflateContext $context): int {}
- function inflate_get_read_len(InflateContext $context): int {}
|