public static function compress($data) { return lzf_compress($data); }
public function testLzf() { if (function_exists('lzf_compress')) { $compressed = Lzf::compress($this->string); $decompressed = Lzf::decompress($compressed); $this->assertEquals($this->string, $decompressed); } }