Zlib 函数
PHP 手册

gzdecode

(PHP 5 >= 5.4.0)

gzdecodeDecodes a gzip compressed string

说明

string gzdecode ( string $data [, int $length ] )

This function returns a decoded version of the input data.

参数

data

The data to decode, encoded by gzencode().

length

The maximum length of data to decode.

返回值

The decoded string, or FALSE if an error occurred.

参见


Zlib 函数
PHP 手册