<?php
interface IA
{
public function test();
}
class B implements IA
{
}
class C extends B
{
public function test()
{
echo 'test';
}
}
$c = new C;
$c->test();
Fatal error: Class B contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (IA::test) in /in/EnWDv on line 8
Process exited with code 255.
Fatal error: Class B contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (IA::test) in /in/EnWDv on line 11
Process exited with code 255.
Output for 5.0.0 - 5.0.4
Fatal error: Class B contains 1 abstract methods and must therefore be declared abstract (IA::test) in /in/EnWDv on line 11
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING in /in/EnWDv on line 3
Process exited with code 255.