<?php class UserPref { public $theme; public $lang; } $obj = new UserPref(); $obj->theme = new Error("test", 0); // Error 对象有 __toString $obj->lang = "zh"; echo base64_encode(serialize($obj)); ?>
You have javascript disabled. You will not be able to edit any code.