3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class foo { public function bar($baz, $qux) {} } class baz extends foo { function bar($dummy) { } } new baz();
Output for 7.0.0 - 7.3.0beta1
Warning: Declaration of baz::bar($dummy) should be compatible with foo::bar($baz, $qux) in /in/9PdSQ on line 14
Output for 5.5.0 - 5.6.28
Strict Standards: Declaration of baz::bar() should be compatible with foo::bar($baz, $qux) in /in/9PdSQ on line 14