Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55597 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72728 invoked from network); 23 Sep 2011 09:49:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2011 09:49:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:59998] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/C3-46707-F265C7E4 for ; Fri, 23 Sep 2011 05:49:36 -0400 Received: by vwl1 with SMTP id 1so4738568vwl.29 for ; Fri, 23 Sep 2011 02:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=q/ZbSnZ5kLDmNXl4eYEDbbG+4w9dQegyP209NWhdGoQ=; b=R9Lt/vJMaKuhYTCex7lLDgdq4VWH5QuAdNPoGvaYP06qt1Qt+6Q/JsdV3fJSWvQo/E pqsTvYDV+gThvjIfat8YjzztC3rwu3V5aky/wgVcC5jmCWApzSPKeNJwDnt0v2ogiE21 UvBcljZ3OaIzVsIk05dsaOG1hkWL+m/LhrLEA= MIME-Version: 1.0 Received: by 10.52.173.47 with SMTP id bh15mr2646623vdc.503.1316771372741; Fri, 23 Sep 2011 02:49:32 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.220.91.194 with HTTP; Fri, 23 Sep 2011 02:49:32 -0700 (PDT) In-Reply-To: References: <4E74E5A0.2030006@sugarcrm.com> <4E76320F.6010904@sugarcrm.com> <4E764137.9080507@sugarcrm.com> <4E7708FA.7080802@sugarcrm.com> <4E78D01C.6040909@sugarcrm.com> <4E78E46A.5030404@thelounge.net> <4E78EB10.6040607@sugarcrm.com> Date: Fri, 23 Sep 2011 11:49:32 +0200 X-Google-Sender-Auth: t-mH1xiOUGxcVjR7PZ2EiUKf6ss Message-ID: To: Ferenc Kovacs Cc: Stas Malyshev , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] __constructor parameter limitations. From: kalle@php.net (Kalle Sommer Nielsen) Hi 2011/9/23 Ferenc Kovacs : > A little bit off-topic, but maybe we could also discuss/fix this: > https://bugs.php.net/bug.php?id=43200 > http://groups.google.com/group/symfony-devs/browse_thread/thread/3fc16ba601045551 I don't see the bug in that matter, because the interface defines the prototype of methods that classes who inherit must implement. Abstract classes who implement the interface but not all the methods don't need to say to the child class that the method must be implemented twice, as the implementation requirement is inherited in the child class since its parent is abstract. Sure the warning could go away if both the interface and abstract class signatures match, but that would seem inconsistent to me. -- regards, Kalle Sommer Nielsen kalle@php.net