函数连续调用-PHP源码
php代码"; return $this; } function age($agec) { echo "我的年龄是:$agec
"; return $this; } } $xind = new xin(); $xind->name("星星")->age("10000"); ?>
name("星星")->age("10000"); ?>"/>
"; return $this; } function age($agec) { echo "我的年龄是:$agec
"; return $this; } } $xind = new xin(); $xind->name("星星")->age("10000"); ?>
PHP之友评论