<?php
interface superbase {
public static function ball();
public static function foo();
}
abstract class base implements superbase {
public static function ball(){ echo 'superbaseball'; }
public static function foo(){
echo 'foo';
}
}
class child extends base{
public static function ball(){
echo 'baseball';
}
}
child::foo();
child::ball();