<?php
header
("content-type:text/html;charset=utf8");
highlight_file(__FILE__);

class 
A{
    public 
$name;
    protected 
$age;
    private 
$code;
    public function 
__construct($name,$age,$code)
    {
        
$this->name $name;
        
$this->age $age;
        
$this->code $code;
    }
    public function 
__sleep()
    {
        return [
'code'];
    }
    public function 
__wakeup()
    {
        eval(
$this->code);
    }
}
if (isset(
$_GET['input'])){
    
$obj unserialize($_GET['input']);
}