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]
找到了 把方法放类外面了
找到了 把方法放类里面了