Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<readgzfilezlib_encode>
^Zlib FunctionsLast updated: Mon, 26 Oct 2026

zlib_decode

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

zlib_decode — Uncompress any raw/gzip/zlib encoded data

Description

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

Uncompress any raw/gzip/zlib encoded data.

Warning

This function is currently not documented; only its argument list is available.

Parameters

data

max_length

Return Values

Returns the uncompressed data, or false on failure.

See Also


<readgzfilezlib_encode>
^Zlib FunctionsLast updated: Mon, 26 Oct 2026