Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42977 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72356 invoked from network); 8 Feb 2009 14:39:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2009 14:39:39 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:40664] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/41-64491-AAEEE894 for ; Sun, 08 Feb 2009 09:39:38 -0500 Received: from MBOERGER-ZRH.corp.google.com (148-27.62-81.cust.bluewin.ch [81.62.27.148]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id EAA0411F021; Sun, 8 Feb 2009 15:39:34 +0100 (CET) Date: Sun, 8 Feb 2009 15:36:45 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <16710621709.20090208153645@marcus-boerger.de> To: Stanislav Malyshev CC: Lukas Kahwe Smith , php-dev List In-Reply-To: <49889E3B.8020306@zend.com> References: <5EC76153-898F-49C2-BDF1-C227578DB874@pooteeweet.org> <49889E3B.8020306@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] towards the next 5.3 release From: helly@php.net (Marcus Boerger) Hello Stanislav, it should actually be a hard error. As we always claim PHP follows pure IS-A relation ships. Tuesday, February 3, 2009, 8:42:51 PM, you 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. > -- > Stanislav Malyshev, Zend Software Architect > stas@zend.com http://www.zend.com/ > (408)253-8829 MSN: stas@zend.com Best regards, Marcus