Сжатие с помощью php gzip
1 |
$return = gzencode($return, 9); // Gzip |
Распаковка php gzip
1 2 3 4 5 |
function gzdecode($data) { return gzinflate(substr($data,10,-8)); } $return = gzdecode($return); // Unzip |