标签:
<?php
header("content-type:text/html;charset=utf8");
class Car {
var $name = ‘汽车‘;
function getName() {
return $this->name;
}
}
$a=new Car();
echo $a->name;
echo $a->getname();
标签:
原文地址:http://www.cnblogs.com/lidepeng/p/5931708.html