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