摘要:
name=$name; $this->age=$age; $this->sex=$sex; } function __construct($name="",$age=0, $sex="女"){ $this->name=$name; $this->age=$age; $this->sex=$sex; } function say(){ echo"我的名字叫{$this->name},我的年龄是{$this->age},我的性别是{$this->sex}"; } function run() 阅读全文