3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class A { abstract function a(); } class B extends A { function a($b) { } }
Output for 5.4.0 - 5.4.22
Fatal error: Declaration of B::a() must be compatible with A::a() in /in/SERGN on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Fatal error: Declaration of B::a() must be compatible with that of A::a() in /in/SERGN on line 14
Process exited with code 255.