Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9390 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26133 invoked by uid 1010); 19 Apr 2004 18:44:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26101 invoked from network); 19 Apr 2004 18:44:24 -0000 Received: from unknown (HELO shiva.mind.de) (212.42.230.204) by pb1.pair.com with SMTP; 19 Apr 2004 18:44:24 -0000 Received: from [192.168.1.3] (pD95F8A15.dip.t-dialin.net [217.95.138.21]) by shiva.mind.de (Postfix) with ESMTP id 53CE897B58; Mon, 19 Apr 2004 20:44:23 +0200 (CEST) Date: Mon, 19 Apr 2004 20:44:23 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1441121538843.20040419204423@marcus-boerger.de> To: Ferdinand Beyer Cc: zeev@zend.com, internals@lists.php.net In-Reply-To: <4083F9F5.11749.F1677@localhost> References: <5.1.0.14.2.20040419112627.03efaa00@localhost> <4083F9F5.11749.F1677@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Interface inheritance From: helly@php.net (Marcus Boerger) Hello Ferdinand, Monday, April 19, 2004, 4:10:29 PM, you wrote: > 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. Simply decalre thos methos with an empty signature and use the appropriate functions to handle the arguments? marcus -- Best regards, Marcus mailto:helly@php.net