gzinflate
gzinflate
Inflate a deflated string
**gzinflate** string $data int $max_length
This function inflates a deflated string.
data
The data compressed by .
gzdeflate
max_lengthThe maximum length of decoded data.
The original uncompressed data or false on error.
The function will return an error if the uncompressed data is more than
32768 times the length of the compressed input
or, unless is , more than the optional parameter .
data``max_length``0``max_length
Voorbeeld: example
<?php
$compressed = gzdeflate('Compress me', 9);
$uncompressed = gzinflate($compressed);
echo $uncompressed;
?>
gzdeflate``gzcompress``gzuncompress``gzencode