This doesn\'t work:
interface TestInterface { public function testMethod(); } interface TestInterface2 { public function testMethod(); } class Test
The PHP manual says explicitly:
Prior to PHP 5.3.9, a class could not implement two interfaces that specified a method with the same name, since it would cause ambiguity. More recent versions of PHP allow this as long as the duplicate methods have the same signature.