<?php
interface BarInterface
{
public function bar();
}
interface BarStaticInterface
{
public static function bar();
}
class Foo implements BarInterface, BarStaticInterface
{
public function bar() { }
}
Fatal error: Cannot make static method BarStaticInterface::bar() non static in class Foo in /in/GXhS8 on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.8
Fatal error: Can't inherit abstract function BarStaticInterface::bar() (previously declared abstract in BarInterface) in /in/GXhS8 on line 14
Process exited with code 255.
Fatal error: Can't inherit abstract function BarStaticInterface::bar() (previously declared abstract in BarInterface) in /in/GXhS8 on line 13
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING in /in/GXhS8 on line 3
Process exited with code 255.