<?php
interface Base
{
function base();
}
interface Derived extends Base {
function derived();
}
interface Derp extends Base {
function derp();
}
class ThisIsValid implements Base, Derived {
public function base() {}
public function derived() {}
}
class IsThisValid implements Derp, Derived {
public function base() {}
public function derived() {}
}
Fatal error: Class IsThisValid contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Derp::derp) in /in/tSb3f on line 22
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Fatal error: Class IsThisValid contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Derp::derp) in /in/tSb3f on line 25
Process exited with code 255.