Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
class Test{
protected $_data = array(
"jackpot" => "12345"
);
var $enter;
}
$obj = new Test;
$obj->enter = "12345";
$x = base64_encode(serialize($obj));
print $x."\n";
var_dump(unserialize(base64_decode($x)));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment