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

gzencode

Logo laravel/framework laravel/framework
Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Create a gzip compressed string
<?php gzencode(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_GZIP): string|false