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/nQbFS on line 5 Fatal error: Abstract function Test::test() cannot contain body in /in/nQbFS on line 8
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 BtOfh on line 5 Fatal error: Abstract function Test::test() cannot contain body in BtOfh on line 8
Process exited with code 255.