3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public static function a() {echo "A\n";} } class B { public static function a() { static::a(); } }
Output for 5.3.0 - 5.4.23
Fatal error: Constructor A::a() cannot be static in /in/JMo9n on line 5
Process exited with code 255.