PHP Class Pop\Compress\Zlib

Author: Nick Sagona, III ([email protected])
Datei anzeigen Open project: nicksagona/PopPHP Class Usage Examples

Public Methods

Method Description
compress ( string $data, integer $level = 9 ) : mixed Static method to compress data
decompress ( string $data ) : mixed Static method to decompress data

Method Details

compress() public static method

Static method to compress data
public static compress ( string $data, integer $level = 9 ) : mixed
$data string
$level integer
return mixed

decompress() public static method

Static method to decompress data
public static decompress ( string $data ) : mixed
$data string
return mixed