3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface labas { public function getFoo(); } interface ate extends labas { public function getBar(); } class kazkas implements ate { }
Output for 7.0.0 - 7.3.1
Fatal error: Class kazkas contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ate::getBar, labas::getFoo) in /in/W3QOL on line 11
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Class kazkas contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ate::getBar, labas::getFoo) in /in/W3QOL on line 13
Process exited with code 255.