gzdecode

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

gzdecodeDecodes a gzip compressed string

Descrizione

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

This function returns a decoded version of the input data.

Elenco dei parametri

data

The data to decode, encoded by gzencode().

max_length

The maximum length of data to decode.

Valori restituiti

The decoded string, or o false in caso di fallimento.

Errori/Eccezioni

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

Vedere anche:

  • gzencode() - Crea una stringa compressa con gzip