PHP 手册
上一页 |  | 下一页

# http_deflate

(no version information, might be only in CVS)

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.

## 参见

http_inflate()
HttpDeflateStream

上一页 | 起始页 | 下一页
http_chunked_decode | 上一级 | http_inflate