The PHP Function Gzuncompress
PHP has many built-in functions but also allows you to create your own. Functions are blocks of code that can be called from within a script to perform a specific task. Functions do not execute automatically when a page loads, but need to be called by the script using a call to function syntax.
This function takes a string of data compressed by gzcompress() and decodes it into its original uncompressed form. The return value is the orignial uncompressed data or false on error.
The first ten bytes of the output are the standard gzip file header. The last four bytes contain a checksum of the encoded body.
If a level is specified it must be between 0 and 9. If not, the default compression of the zlib library will be used.
Note: gzuncompress does NOT append a CRC32 checksum to the output, unlike gzdeflate which does. This is a bug in PHP, not a problem with gzip.
The gzuncompress function does not support the "Force_GZIP" encoding option. Use gzencode() instead if you need to send a gzip header.
You can enable strict typing for functions by adding a type declaration before the function name, right after the opening curly (