Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42906 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69668 invoked from network); 3 Feb 2009 19:58:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2009 19:58:56 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:41523] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/62-03479-FF1A8894 for ; Tue, 03 Feb 2009 14:58:56 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 27FC3414400B; Tue, 3 Feb 2009 20:02:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VSJdJdLSNxe5; Tue, 3 Feb 2009 21:02:40 +0100 (CET) Received: from [192.168.0.151] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 0E1EC4144009; Tue, 3 Feb 2009 21:02:39 +0100 (CET) Cc: Stanislav Malyshev , PHP Developers Mailing List Message-ID: <172F9C3F-156B-4499-BFB9-1D3C90ECB6FC@pooteeweet.org> To: Greg Beaver In-Reply-To: <4988A08D.6020801@chiaraquartet.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 3 Feb 2009 20:58:50 +0100 References: <5EC76153-898F-49C2-BDF1-C227578DB874@pooteeweet.org> <49889E3B.8020306@zend.com> <4988A08D.6020801@chiaraquartet.net> X-Mailer: Apple Mail (2.930.3) Subject: Re: [PHP-DEV] towards the next 5.3 release From: mls@pooteeweet.org (Lukas Kahwe Smith) On 03.02.2009, at 20:52, Greg Beaver wrote: > Stanislav Malyshev wrote: >> Hi! >> >>> http://bugs.php.net/bug.php?id=46984 - E_STRICT >> >> I think overriding foo($x) with foo($x, $y) - with both parameters >> required - leads to calls to foo with one argument be wrong for >> child - >> thus violating LSP and warranting E_STRICT. > > I agree. If $y were optional, the LSP is no longer violated, and the > E_STRICT disappears, as expected. > > Opn->Bgs I agree. This is exactly what we have E_STRICT for .. regards, Lukas Kahwe Smith mls@pooteeweet.org