<?php
//interface common { function get($index); }
interface legacy /*extends common*/ { function get($index); }
interface modern /*extends common*/ { function get($index); }
class modernImpl implements modern
{
public function get($index) {}
}
class defaultImpl extends modernImpl implements legacy
{
public function get($index) {}
}