Home > PHP > Function > Zlib > gzdecode()

gzdecode()

gzdecode - Decodes a gzip compressed string

Syntax

string gzdecode (string $data, int $length)

Arguments

  • data - The data to decode, encoded by gzencode().
  • length - The maximum length of data to decode.

Description

This function returns a decoded version of the input data.

Version

PHP No version information available, might only be in SVN

Return value

The decoded string, or FALSE if an error occurred.