3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface ParametersInterface {} class Parameters implements ParametersInterface {} class AbstractPidor { public function play(int $p) {} } class Pidor extends AbstractPidor { public function play(string $p, $p2) {} }
based on rm6P1
Output for 7.0.0 - 7.2.6
Warning: Declaration of Pidor::play(string $p, $p2) should be compatible with AbstractPidor::play(int $p) in /in/E0D0a 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(int $p) in /in/E0D0a on line 13