Skip to content

Instantly share code, notes, and snippets.

@spin6lock
Created March 19, 2012 02:55
Show Gist options
  • Save spin6lock/2092007 to your computer and use it in GitHub Desktop.
Save spin6lock/2092007 to your computer and use it in GitHub Desktop.
a demo to decompress report data
<?php
$raw_data = "x\x01E\xcd\xd1\n\x80 \x0c\x05\xd0_\x91='L\xa5\xa0~%$,F\x05jP\xfa\x14\xfd{\xb3\x88\xde\xee\xce\xd8\xdd\t\xe3:\x0fn'\x07\x9d\x80DG\x82J@\xcc\x81G\xcdi\xdf<\x1d\x9c\xfb\x1e\xa2\x0b\xc4\xcb\x06\x995*-\x8dT\xad\xc0\xb63Xn~RX\xc8Z\xc6\xaf\x18k\xac\xf3\xd3L\xe9}\xe4\xa7-\x14\x98\x16\x17#\xf9\x82\n\xae\x1bl\x06\$Z";
$unzip_data = gzuncompress($raw_data);
var_dump($unzip_data);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment