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 g(){ echo 'B::f'; } }
Output for 5.3.0 - 5.4.21
Fatal error: Cannot make non static method A::g() static in class B in /in/eQjSl on line 12
Process exited with code 255.