3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public static function wtf() { var_dump($this); } } class B extends A { public function wtf() { A::wtf(); } } $b = new B(); $b->a();
Output for 5.3.0 - 5.4.22
Fatal error: Cannot make static method A::wtf() non static in class B in /in/Al1lk on line 13
Process exited with code 255.