<?php
interface Foo
{
public function doFooBar($foo, $bar=null);
}
interface Bar extends Foo
{
public function doFooBar($foo, $bar=null);
}
class FooBar implements Bar
{
public function doFooBar($foo, $bar=null)
{
}
}
$d = new FooBar();
Fatal error: Can't inherit abstract function Foo::doFooBar() (previously declared abstract in Bar) in /in/UgUtU on line 9
Process exited with code 255.
Fatal error: Can't inherit abstract function Foo::doFooBar() (previously declared abstract in Bar) in /in/UgUtU on line 8
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING in /in/UgUtU on line 3
Process exited with code 255.