Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39718 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13593 invoked from network); 6 Aug 2008 23:20:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Aug 2008 23:20:04 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; 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:7405] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8B/EF-29324-3A13A984 for ; Wed, 06 Aug 2008 19:20:04 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 7 Aug 2008 02:20:46 +0300 Received: from [192.168.17.27] ([192.168.17.27]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 Aug 2008 16:20:43 -0700 Message-ID: <489A31C9.1060103@zend.com> Date: Wed, 06 Aug 2008 16:20:41 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Moriyoshi Koizumi CC: Larry Garfield , internals@lists.php.net References: <909776579.20080803142659@marcus-boerger.de> <4896EA3C.6010203@zend.com> <4897E9B5.9020006@at.wakwak.com> <200808052035.12199.larry@garfieldtech.com> <489908C2.9040200@at.wakwak.com> <489939C5.2090007@zend.com> <4899B449.4010800@at.wakwak.com> <4899D488.2010803@zend.com> <489A2BC6.3070308@at.wakwak.com> In-Reply-To: <489A2BC6.3070308@at.wakwak.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Aug 2008 23:20:43.0615 (UTC) FILETIME=[0C6A2EF0:01C8F81B] Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: stas@zend.com (Stanislav Malyshev) Hi! > language syntax, whereas the "use" construct after the argument list is > inconsistent with the ordinary function definition unless my proposal Because it is _not_ an ordinary function definition. It's like saying '+' is "inconsistent" with '-' because $a+$b=$b+$a but $a-$b!=$b-$a. I don't have any attachment to any particular syntax in this case, but I am strongly opposed to taking decision on the syntax based on the look of the constructs alone, ignoring underlying semantic differences and all the problems that it would lead to. P.S. btw, in your proposal functions would be "inconsistent" with methods. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com