<?php error_reporting(-1); class Y { function bar() { var_dump(get_called_class()); } } class X { function foo() { Y::bar(); } } (new X)->foo();
You have javascript disabled. You will not be able to edit any code.