PHP » GoLang |
login |
register |
about
|
gzcompress(PHP 4 >= 4.0.1, PHP 5, PHP 7) gzcompress — Compress a string Description
string gzcompress
( string
$data
[, int $level = -1
[, int $encoding = ZLIB_ENCODING_DEFLATE
]] )This function compresses the given string using the ZLIB data format. For details on the ZLIB compression algorithm see the document "» ZLIB Compressed Data Format Specification version 3.3" (RFC 1950).
Parameters
Return Values
The compressed string or Examples
Example #1 gzcompress() example
<?php Changelog
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|