<?php interface I {} function foo() { return new class { public static function foo() { return new class {}; } }; } var_dump(foo()::foo());
You have javascript disabled. You will not be able to edit any code.