3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // unsilenced class Fooable { public function foo($a, $b, $c) {} } // silenced $_ = function () { class ExtendedFooable extends Fooable { public function foo($d) {} } }; $_();
based on bm0oR
Output for 7.0.0 - 7.3.0beta1
Warning: Declaration of ExtendedFooable::foo($d) should be compatible with Fooable::foo($a, $b, $c) in /in/Dqljg on line 10
Output for 5.5.0 - 5.6.28
Strict Standards: Declaration of ExtendedFooable::foo() should be compatible with Fooable::foo($a, $b, $c) in /in/Dqljg on line 10