最贊回答 / sophia_yu
<...圖片...>這個在視頻中有案例演示啊,第14行,對象調用了一個不存在的方法runTest,此時__call被調用,在這里,$name就是runTest這個方法名,$arguments就是runTest這個方法的參數“para1”“para2”
2014-11-24
最贊回答 / 凱jl
class Human{? ? private ? $height;? ? public function setHeight($h){? ? $this->height=$h;? ? ? ? }? ? public function printHeight(){? ? echo "Human height:".$this->height;? ? }}class Player extends Human {? ? protected $age;? ? function __construc...
2014-11-14