Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42905 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65822 invoked from network); 3 Feb 2009 19:52:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2009 19:52:52 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 74.125.46.31 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 74.125.46.31 yw-out-2324.google.com Received: from [74.125.46.31] ([74.125.46.31:4223] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/91-03479-490A8894 for ; Tue, 03 Feb 2009 14:52:52 -0500 Received: by yw-out-2324.google.com with SMTP id 5so755297ywb.83 for ; Tue, 03 Feb 2009 11:52:49 -0800 (PST) Received: by 10.142.125.4 with SMTP id x4mr544601wfc.223.1233690768977; Tue, 03 Feb 2009 11:52:48 -0800 (PST) Received: from monster.local ([76.84.30.125]) by mx.google.com with ESMTPS id 20sm10553888wfi.47.2009.02.03.11.52.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Feb 2009 11:52:47 -0800 (PST) Message-ID: <4988A08D.6020801@chiaraquartet.net> Date: Tue, 03 Feb 2009 13:52:45 -0600 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Stanislav Malyshev CC: Lukas Kahwe Smith , PHP Developers Mailing List References: <5EC76153-898F-49C2-BDF1-C227578DB874@pooteeweet.org> <49889E3B.8020306@zend.com> In-Reply-To: <49889E3B.8020306@zend.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] towards the next 5.3 release From: greg@chiaraquartet.net (Greg Beaver) 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 Greg