Compress data with gzip
, zlib
AKA deflate
or raw deflate
encoding.
See the deflate constants table for possible values for the flags
parameter.
Parameters
- data
String containing the data that should be encoded
- flags
deflate options
Return Values
Returns the encoded string on success, or NULL on failure.