3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class A { public abstract function g(); public static function f(){ echo 'f'; } } class B extends A { public static function f(){ echo 'B::f'; } }
Output for 5.3.0 - 5.5.5
Fatal error: Class B contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (A::g) in /in/d97NA on line 12
Process exited with code 255.