print (i.foo()) –> 9 [/php]. 而private function 的作法如下,嚴格來跟C語言的OOP的私有函數還是不太一樣的觀念, [php] local function MyClass(init)
確定! 回上一頁