gzencode

 string gzencode ( string $data [, int $level = -1 [, int $encoding_mode = FORCE_GZIP ]] ) 

説明

This function returns a compressed version of the input data compatible with the output of the gzip program. For more information on the GZIP file format, see the document: » GZIP file format specification version 4.3 (RFC 1952).

戻り値

The encoded string, or FALSE if an error occurred.