Decodes a gzip compressed string

# gzdecode

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

gzdecode — Decodes a gzip compressed string

### 说明

function gzdecode(string `$data`, int `$max_length` = 0): string|false

This function returns a decoded version of the input `data`.

### 参数

`data`

  The data to decode, encoded by gzencode().

`max_length`

  The maximum length of data to decode.

### 返回值

The decoded string, or 或者在失败时返回 `false`.

### 错误／异常

In case of failure, an `E_WARNING` level error is issued.

### 参见

- gzencode() - Create a gzip compressed string

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open