3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php interface superbase { public static function ball(); public static function foo(); } abstract class base implements superbase { public static function ball(); public static function foo(){ echo 'foo'; } } class child extends base{ public static function ball(){ echo 'baseball'; } } child::foo(); child::ball();
Output for 5.3.0 - 5.5.3
Fatal error: Non-abstract method base::ball() must contain body in /in/Md6h6 on line 8
Process exited with code 255.