Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39780 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2997 invoked from network); 8 Aug 2008 22:15:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2008 22:15:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:18594] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/00-02575-395CC984 for ; Fri, 08 Aug 2008 18:15:48 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 9 Aug 2008 01:16:33 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Aug 2008 15:16:29 -0700 Message-ID: <489CC5BD.4060701@zend.com> Date: Fri, 08 Aug 2008 15:16:29 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Marcus Boerger CC: 'PHP Internals' References: <489CAD75.2060404@zend.com> <1961502655.20080809000521@marcus-boerger.de> In-Reply-To: <1961502655.20080809000521@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Aug 2008 22:16:29.0907 (UTC) FILETIME=[68408230:01C8F9A4] Subject: Re: [PHP-DEV] by-ref return & inheritance From: stas@zend.com (Stanislav Malyshev) Hi! > I think we may want to stick to our is-a mantra. I'm not sure I understand what you mean here. But our principle was to allow things that do not violate the LSP - such as adding optional parameters, for example. I think returning by-ref can be allowed on the same principle. Is there any problem with allowing it that you see? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com