HOME

Inflate data
HTTP Functions
PHP Manual

http_inflate

(PECL pecl_http >= 0.15.0)

http_inflateInflate data

Description

string http_inflate ( string $data )

Decompress data compressed with either gzip, deflate AKA zlib or raw deflate encoding.

Parameters

data

string containing the compressed data

Return Values

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

See Also


HTTP Functions
PHP Manual