<?php class A { private $a = 4; protected $c = 7; public $b = 5; } $a = new A(); $str = sprintf('<?php\n return %s;\n', var_export($a, true)); eval($str);
You have javascript disabled. You will not be able to edit any code.