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