您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

http_deflate

(PECL pecl_http:0.15.0-1.5.5)

http_deflate — Deflate 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.

参数

data

String containing the data that should be encoded

flags

deflate options

返回值

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