3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Common { function createCommon(); } interface Specific1 extends Common { function createSpecific1(); } interface Specific2 extends Common { function createSpecific2(); } class A implements Specific1, Common { public function createCommon() { } public function createSpecific1() { } } print_r(class_implements(new A()));

preferences:
53.06 ms | 402 KiB | 5 Q