<?php class Foo { public static function __callStatic($a, $b) { return 'x'; } } class Bar extends Foo { public function __call($a, $b) { return 'y'; } } var_dump(Foo::x()); var_dump((new Bar)->x());
You have javascript disabled. You will not be able to edit any code.