Re: interface method redeclaration

From: Date: Thu, 23 Sep 2004 21:19:55 +0000
Subject: Re: interface method redeclaration
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-12953@lists.php.net to get a copy of this message
George Schlossnagle wrote:
Hi, Coogle brought this up, shouldn't this be ok? interface Bar {
        function foo();
} interface Baz {
        function foo();
} class A implements Bar, Baz {
        function foo() {}
} Throws a redclaration error in 5.0.1. George Schlossnagle -- Prinicipal Consultant -- OmniTI Computer Consulting -- http://www.omniti.com even function foo() {} in A is not needed at all.
Andrey

« previous php.internals (#12953) next »