Skip to content

Instantly share code, notes, and snippets.

@tmm08a
Last active June 17, 2016 07:56
Show Gist options
  • Save tmm08a/686d3f78a44c8ea80fd0 to your computer and use it in GitHub Desktop.
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