3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { abstract public static function test() { } }
based on l3Ugk
Output for 7.0.0 - 7.0.2
Fatal error: Abstract function Test::test() cannot contain body in /in/MRcWF on line 5
Process exited with code 255.
Output for 5.3.22 - 5.6.17
Strict Standards: Static function Test::test() should not be abstract in /in/MRcWF on line 5 Fatal error: Abstract function Test::test() cannot contain body in /in/MRcWF on line 8
Process exited with code 255.