问下 怎么形成的。。。。。 嗯 都不会调用 callStatic
class x{
public static function __callstatic($name, $args) {
echo 'callstatic';
}
public function __call($name, $args){
echo 'call';
}
}
class xx extends x {
public function test () {
self::xx();
static::xx();
parent::xx();
}
}
$xx = new xx;
$xx ->test();
被坑的满地找牙 好像 在方法内调用 静态方法 __call 优先级都会更高