3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { abstract public static function testing(); }
based on DogmX
Output for 7.0.0 - 7.0.2
Fatal error: Class Test contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Test::testing) in /in/HLkWH on line 6
Process exited with code 255.
Output for 5.3.22 - 5.6.17
Strict Standards: Static function Test::testing() should not be abstract in /in/HLkWH on line 5 Fatal error: Class Test contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Test::testing) in /in/HLkWH on line 6
Process exited with code 255.