<?php
interface Bar {
public function doSomething();
public function special1();
}
class Foo implements Bar {
public function doSomething() { echo 'doSomething'; }
public function myspecial1() { echo 'myspecial'; }
}
$a = new Foo();
$a->doSomething();
Fatal error: Class Foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Bar::special1) in /in/GmGGe on line 7
Process exited with code 255.
Fatal error: Class Foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Bar::special1) in /in/GmGGe on line 10
Process exited with code 255.
Output for 5.0.0 - 5.0.4
Fatal error: Class Foo contains 1 abstract methods and must therefore be declared abstract (Bar::special1) in /in/GmGGe on line 10
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING in /in/GmGGe on line 3
Process exited with code 255.