摘要: header ("content-type:text/html;charset=utf-8"); class A{ function __construct(){ echo "基类的构造方法<br/>"; } } class B extends A{ function __construct(){ 阅读全文
posted @ 2017-03-15 17:25 yahn~ 阅读(241) 评论(0) 推荐(0)
摘要: <?php header("content-type:text/html;charset=utf-8"); class Person extends Animal{ public $PersonSex;//性别 public $PersonAge;//年龄 //继承者的构造函数 function _ 阅读全文
posted @ 2017-03-15 16:31 yahn~ 阅读(338) 评论(0) 推荐(0)