Logo

Zlib Functions

deflate_add deflate_init gzclose gzcompress gzdecode gzdeflate gzencode gzeof gzfile gzgetc gzgets gzinflate gzopen gzpassthru gzputs gzread gzrewind gzseek gztell gzuncompress gzwrite inflate_add inflate_get_read_len inflate_get_status inflate_init ob_gzhandler readgzfile zlib_decode zlib_encode zlib_get_coding_type

deflate_init

Supported Versions: PHP 7, PHP 8
Initialize an incremental deflate context
<?php deflate_init(int $encoding, array $options = []): DeflateContext|false