Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12953 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84050 invoked by uid 1010); 23 Sep 2004 21:21:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84026 invoked from network); 23 Sep 2004 21:21:17 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 23 Sep 2004 21:21:17 -0000 Received: from pd9e61154.dip.t-dialin.net ([217.230.17.84] helo=[192.168.0.36]) by iko.gotobg.net with asmtp (Exim 4.41) id 1CAb1l-0003Wi-VU; Fri, 24 Sep 2004 00:21:22 +0300 Message-ID: <41533DFB.3000000@hristov.com> Date: Thu, 23 Sep 2004 23:19:55 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040918 X-Accept-Language: en-us, en MIME-Version: 1.0 To: George Schlossnagle CC: internals@lists.php.net References: <4BF9CA85-0D9A-11D9-B25B-000D93359332@omniti.com> In-Reply-To: <4BF9CA85-0D9A-11D9-B25B-000D93359332@omniti.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] interface method redeclaration From: php@hristov.com (Andrey Hristov) 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