public static decompress ( string $data ) : mixed | ||
$data | string | |
Результат | mixed |
public static function decompress($data)
{
return lzf_decompress($data);
}
public function testLzf() { if (function_exists('lzf_compress')) { $compressed = Lzf::compress($this->string); $decompressed = Lzf::decompress($compressed); $this->assertEquals($this->string, $decompressed); } }