Skip to content

Instantly share code, notes, and snippets.

@tmm08a
Last active June 17, 2016 07:56
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tmm08a/686d3f78a44c8ea80fd0 to your computer and use it in GitHub Desktop.
<?php
$data ='O:8:"stdClass":3:{s:3:"aaa";a:5:{i:0;i:1;i:1;i:2;i:2;s:39:"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";i:3;i:4;i:4;i:5;}s:3:"aaa";i:1;s:3:"ccc";R:5;}';
$x = unserialize($data);
var_dump($x);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment