3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class Test { abstract public static function test(); } class Test2 extends Test { public static function test() { } }
Output for 5.3.23, 5.4.13
Strict Standards: Static function Test::test() should not be abstract in /in/5nD0g on line 5 Fatal error: Constructor Test::test() cannot be static in /in/5nD0g on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Strict Standards: Static function Test::test() should not be abstract in 6sruD on line 5 Fatal error: Constructor Test::test() cannot be static in 6sruD on line 6
Process exited with code 255.