interface method redeclaration

From: Date: Thu, 23 Sep 2004 19:53:53 +0000
Subject: interface method redeclaration
Groups: php.internals 
Request: Send a blank email to internals+get-12952@lists.php.net to get a copy of this message
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

« previous php.internals (#12952) next »