摘要:
1 name=$name;24 $this->age=$age;25 $this->sex=$sex;26 }27 function say(){28 29 echo"my name is{$this->name};my age is{$this->age};my sex is{$this->sex}.";30 }31 32 function staticsay(){33 34 return self::$country;35 }36 }37 /*实例化对象*/38 $p=new preson();39 $p->say("lee 阅读全文