3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface Test { function foo($bar); } interface Test2 extends Test { function foo($split, $bar); }
Output for 7.0.0 - 7.2.0
Fatal error: Declaration of Test2::foo($split, $bar) must be compatible with Test::foo($bar) in /in/n9Ofo on line 7
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Declaration of Test2::foo() must be compatible with Test::foo($bar) in /in/n9Ofo on line 7
Process exited with code 255.