Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9382 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76504 invoked by uid 1010); 19 Apr 2004 14:10:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76448 invoked from network); 19 Apr 2004 14:10:10 -0000 Received: from unknown (HELO smtprelay02.ispgateway.de) (62.67.200.157) by pb1.pair.com with SMTP; 19 Apr 2004 14:10:10 -0000 Received: (qmail 14698 invoked from network); 19 Apr 2004 14:10:09 -0000 Received: from unknown (HELO heinz-ruediger) (126482@[212.202.104.234]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 19 Apr 2004 14:10:09 -0000 To: zeev@zend.com, internals@lists.php.net Date: Mon, 19 Apr 2004 16:10:29 +0200 MIME-Version: 1.0 Message-ID: <4083F9F5.11749.F1677@localhost> Priority: normal In-reply-to: <5.1.0.14.2.20040419112627.03efaa00@localhost> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: [PHP-DEV] Interface inheritance From: fb@fbeyer.com ("Ferdinand Beyer") References: <5.1.0.14.2.20040419112627.03efaa00@localhost> On 19 Apr 2004 at 11:49, Zeev Suraski wrote: > Suggested behavior: > Any method that implements (directly or indirectly) an interface method or > an abstract method, will have implementation checks fully enforced, with an > E_COMPILE_ERROR emitted in case of an error. > Behavior for methods that override regular parent methods, that do not have > interface/abstract prototypes, will not change (E_STRICT message). > > Comments welcome - we'd like to sort this out before RC2... I don't like the idea as it does not allow var args to emulate overloaded methods. I repeat myself when I say that IMO such strictness does not fit to PHP's loose character. -- Ferdinand Beyer