3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface AInterface { public function makeHappy($arg); } interface BInterface { public function makeHappy($arg, $arg2); } interface CInterface extends AInterface, BInterface { }
Output for 7.0.0 - 7.2.0
Fatal error: Declaration of AInterface::makeHappy($arg) must be compatible with BInterface::makeHappy($arg, $arg2) in /in/UMFqm on line 11
Process exited with code 255.
Output for 5.4.8 - 5.6.28
Fatal error: Declaration of AInterface::makeHappy() must be compatible with BInterface::makeHappy($arg, $arg2) in /in/UMFqm on line 11
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Fatal error: Declaration of AInterface::makeHappy() must be compatible with that of BInterface::makeHappy() in /in/UMFqm on line 11
Process exited with code 255.