面向?qū)ο笾校?__get()和 __set() 方法怎么處理多個變量function __get($xm1,$nl1,$xl1){return ($this->$xm1);return ($this->$nl1);return ($this->$xl1);}報錯Method ren1::__get() must take exactly 1 argument in。。。分開寫成三段也報錯,只留一段可以執(zhí)行
- 2 回答
- 0 關(guān)注
- 274 瀏覽
添加回答
舉報
0/150
提交
取消