<?php
interface IA
{
public function test();
}
class B implements IA
{
}
class C extends B
{
public function test()
{
echo 'test';
}
}
(new 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/SYnTW 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/SYnTW on line 11
Process exited with code 255.