# gzdecode

(PHP 5 >= 5.4.0, PHP 7)

gzdecode — Decodes a gzip compressed string

### 说明

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

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.

### 参见

- gzencode() - Create a gzip compressed string