array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.gzdecode.php', 1 => 'gzdecode', ), 'up' => array ( 0 => 'ref.zlib.php', 1 => 'Zlib Functions', ), 'prev' => array ( 0 => 'function.gzcompress.php', 1 => 'gzcompress', ), 'next' => array ( 0 => 'function.gzdeflate.php', 1 => 'gzdeflate', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/zlib/functions/gzdecode.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
gzdecode — Decodes a gzip compressed string
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 or false
on failure.
In case of failure, an E_WARNING
level error is issued.