作者在 2011-12-02 15:55:25 发布以下内容
<?php
class User{
private $uid;
public function __construct($uid){
$this->uid=$uid;
}
function purint(){
echo "aaadsfsdf".$this->uid;
}
}
$us=new User("abbb");
$us->purint();
?>
class User{
private $uid;
public function __construct($uid){
$this->uid=$uid;
}
function purint(){
echo "aaadsfsdf".$this->uid;
}
}
$us=new User("abbb");
$us->purint();
?>