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

gzwrite

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Binary-safe gz-file write
Alias gzputs
<?php gzwrite(resource $stream, string $data, ?int $length = null): int|false