gzdecode

(PHP 5 >= 5.4.0, PHP 7)

gzdecodeDecodes a gzip compressed string

Description

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

This function returns a decoded version of the input data.

Parameters

data

The data to decode, encoded by gzencode().

max_length

The maximum length of data to decode.

Return Values

The decoded string, or false if an error occurred.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.gzdecode.php