php魔术方法,__sleep,__wakeup使用
摘要:
name = $name; $this->age = $age; $this->sex = $sex; $this->info = sprintf("prepared by construct magic functionname: %s age: %d sex: %s", $this->name, $this->age... 阅读全文
posted @ 2018-05-31 14:31 running-fly 阅读(509) 评论(0) 推荐(0) 编辑