PHP 5.6.16 is available


(PECL pecl_http >= 0.15.0)

http_deflateDeflate data


string http_deflate ( string $data [, int $flags = 0 ] )

Compress data with gzip, zlib AKA deflate or raw deflate encoding.

See the deflate constants table for possible values for the flags parameter.

Elenco dei parametri


String containing the data that should be encoded


deflate options

Valori restituiti

Returns the encoded string on success, or NULL on failure.

Vedere anche:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top