3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class A { public abstract static function f(); } class B extends A { public function f(){ echo 'f'; } } $b=new B();
Output for 5.3.0 - 5.4.21
Strict Standards: Static function A::f() should not be abstract in /in/2LYdR on line 5 Fatal error: Cannot make static method A::f() non static in class B in /in/2LYdR on line 11
Process exited with code 255.