public function __call
public function __call($name,$arguments){
echo "calling ".$name."witi parament:".implode(",",$arguments)."\n";
}
Parse error: syntax error, unexpected 'public' (T_PUBLIC) in D:\wamp64\www\Study\magicTest.php on line 12
PHP Parse error:??syntax error,?unexpected 'public' (T_PUBLIC) in D:\wamp64\www\Study\magicTest.php on line 12
[Finished in 0.2s]????
2018-08-17
找到了 把方法放類外面了
2018-08-17
找到了 把方法放類里面了