\Horde_Compress_Fast_Lz4

The lz4 driver uses the horde_lz4 extension for compression.

Summary

Methods
Properties
Constants
supported()
compress()
decompress()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

supported()

supported() : boolean

Is this driver supported on this system?

Returns

boolean —

True if supported.

compress()

compress(string  $text) : string

Compresses a string.

Parameters

string $text

The string to compress.

Returns

string —

The compressed string.

decompress()

decompress(string  $text) : string

Decompresses a string.

Parameters

string $text

The compressed string.

Returns

string —

The decompressed string.