W3cubDocs

/PHP

lzf_compress

(PECL lzf >= 0.1.0)

lzf_compress LZF compression

Description

lzf_compress ( string $data ) : string

lzf_compress() compresses the given data string using LZF encoding.

Parameters

data

The string to compress.

Return Values

Returns the compressed data or false if an error occurred.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.lzf-compress.php