3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { static public function a() { return 1; } static public function geta() { return static::a(); } } class B extends A { static public function a() { return 2; } } echo B::geta();
Output for 5.3.0 - 5.4.14
Fatal error: Constructor A::a() cannot be static in /in/Zi9Vm on line 14
Process exited with code 255.