gzdeflate
gzdeflate
(PHP 4 >= 4.0.4, PHP 5, PHP 7)
gzdeflate — Deflate a string
Description
string gzdeflate ( string $data [, int $level = -1 [, int $encoding = ZLIB_ENCODING_RAW ]] )
This function compresses the given string using the DEFLATE data format.
For details on the DEFLATE compression algorithm see the document "» DEFLATE Compressed Data Format Specification version 1.3" (RFC 1951).