摘要: 当我们实例化一个php类的时候,要怎么传递参数呢?这取决于该类的构造方法。例:person.class.phpname = $name; $this->age = $age; $this->sex = $sex; $this->color = 'yello'; } function ... 阅读全文
posted @ 2013-11-23 15:27 moqiang02 阅读(854) 评论(0) 推荐(0)