HTTP_DEFLATE(3) 1 HTTP_DEFLATE(3)
http_deflate - Deflate data
SYNOPSIS
string http_deflate (string $data, [int $flags])
DESCRIPTION
Compress data with gzip, zlib AKA deflate or raw deflate encoding.
See the deflate constants table for possible values for the $flags parameter.
PARAMETERS
o $data
- String containing the data that should be encoded
o $flags
- deflate options
RETURN VALUES
Returns the encoded string on success, or NULL on failure.
SEE ALSO
http_inflate(3), HttpDeflateStream.
PHP Documentation Group HTTP_DEFLATE(3)