<?php
namespace lolwut;
interface a {
function foo($test);
}
interface b {
function foo();
}
class x implements a, b {
function foo($test) { }
}
$x = new x;
Fatal error: Declaration of lolwut\x::foo() must be compatible with lolwut\b::foo() in /in/N4lve on line 12
Process exited with code 255.
Output for 5.3.9 - 5.3.29
Fatal error: Declaration of lolwut\x::foo() must be compatible with that of lolwut\b::foo() in /in/N4lve on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.8
Fatal error: Can't inherit abstract function lolwut\b::foo() (previously declared abstract in lolwut\a) in /in/N4lve on line 12
Process exited with code 255.