php代码
";
return $this;
}
function age($agec) {
echo "我的年龄是:$agec
";
return $this;
}
}
$xind = new xin();
$xind->name("星星")->age("10000");
?>