(PHP 5 >= 5.4.0, PHP 7, PHP 8)
gzdecode — Decodes a gzip compressed string
$data, int $max_length = 0): string|false
This function returns a decoded version of the input
data.
dataThe data to decode, encoded by gzencode().
max_lengthThe maximum length of data to decode.
The decoded string, or or false on failure.
In case of failure, an E_WARNING level error is issued.