3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { function abc($a) { } } class B extends A { function abc() {} }
Output for 7.0.0 - 7.1.0
Warning: Declaration of B::abc() should be compatible with A::abc($a) in /in/OE7q0 on line 12
Output for 4.3.0 - 4.4.9, hhvm-3.10.0 - 3.13.2
Output for 5.4.0 - 5.6.28
Strict Standards: Declaration of B::abc() should be compatible with A::abc($a) in /in/OE7q0 on line 12
Output for 5.0.0 - 5.3.29
Strict Standards: Declaration of B::abc() should be compatible with that of A::abc() in /in/OE7q0 on line 12