3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface ParametersInterface {} class Parameters implements ParametersInterface {} abstract class AbstractPidor { public function play(ParametersInterface $p) {} } class Pidor extends AbstractPidor { public function play(Parameters $p) {} }
based on FJCLv
Output for 7.0.0 - 7.2.6
Warning: Declaration of Pidor::play(Parameters $p) should be compatible with AbstractPidor::play(ParametersInterface $p) in /in/C6Lno on line 13
Output for hhvm-3.15.4
Output for 5.6.0 - 5.6.30
Strict Standards: Declaration of Pidor::play() should be compatible with AbstractPidor::play(ParametersInterface $p) in /in/C6Lno on line 13