This PHP extension is Snappy.
% phpize
% ./configure
% make
% make install
snappy.ini:
extension=snappy.so
string snappy_compress( string $data )
data:
The data to compress.
The compressed string or FALSE if an error occurred.
string snappy_uncompress( string $data )
name:
The data compressed by snappy_gzcompress().
The original uncompressed data or FALSE on error.
$compressed = snappy_compress('Compress me');
$uncompressed = snappy_uncompress($compressed);
echo $uncompressed;