Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9402 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43053 invoked by uid 1010); 19 Apr 2004 21:44:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43029 invoked from network); 19 Apr 2004 21:44:52 -0000 Received: from unknown (HELO longsword.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 19 Apr 2004 21:44:52 -0000 Received: from [66.80.117.2] (helo=[10.80.116.129]) by longsword.omniti.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.14) id 1BFgZQ-0003eL-G0; Mon, 19 Apr 2004 17:44:52 -0400 In-Reply-To: References: <5.1.0.14.2.20040419112627.03efaa00@localhost> <5.1.0.14.2.20040419130523.04e3fe60@localhost> <101121849562.20040419204933@marcus-boerger.de> <0EB7FB18-923B-11D8-8782-000393B2B3C0@omniti.com> <40844688.5040701@cschneid.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <0FC8CA40-924B-11D8-8782-000393B2B3C0@omniti.com> Content-Transfer-Encoding: 7bit Cc: Marcus Boerger , Zeev Suraski , Andi Gutmans , Christian Schneider , internals@lists.php.net Date: Mon, 19 Apr 2004 17:46:49 -0400 To: George Schlossnagle X-Mailer: Apple Mail (2.613) Subject: Re: [PHP-DEV] Interface inheritance From: george@omniti.com (George Schlossnagle) On Apr 19, 2004, at 5:45 PM, George Schlossnagle wrote: > > On Apr 19, 2004, at 5:37 PM, Christian Schneider wrote: > >> George Schlossnagle wrote: >>>>> Just to clarify a bit on why I think that we should differentiate: >>>>> 1. First of all, I agree that in a perfect world we should go with >>>>> E_COMPILE_ERROR for everything. Maybe now that's constructors are >>> +1 >> >> Are you guys serious about a compile error if I override a method >> with different parameters? This must be the mailing list of a >> different language than PHP... > > If you override an interface with a different number of parameters or > with incorrectly typed parameters, yes. ^^^^^^^ make that read 'implement', of course. George