3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface I1 { public static function foo($bar); } interface I2 { public static function foo($bar); } class A implements I1, I2 { // which interface should be inherited here? public static function foo($bar) {} } var_dump((new ReflectionMethod('A::foo'))->getPrototype());

preferences:
55.88 ms | 1396 KiB | 5 Q