3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface Foo { public function test(array $array); } interface Bar { public function test($array); } interface Test extends Foo, Bar{ }
Output for 7.0.0 - 7.2.0
Fatal error: Declaration of Foo::test(array $array) must be compatible with Bar::test($array) in /in/0AfDC on line 11
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Declaration of Foo::test() must be compatible with Bar::test($array) in /in/0AfDC on line 11
Process exited with code 255.