<?php
// Everything you enter here will be executed by our servers. Try it!
class B implements C {}
class A extends B {}
echo "Test";
interface C {
public function test();
}
Fatal error: Class B contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (C::test) in /in/tZKfk on line 4
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 (C::test) in /in/tZKfk on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/tZKfk on line 4
Process exited with code 255.