Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39680 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63603 invoked from network); 6 Aug 2008 01:35:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Aug 2008 01:35:22 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 76.96.30.80 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 76.96.30.80 qmta08.emeryville.ca.mail.comcast.net Received: from [76.96.30.80] ([76.96.30.80:52195] helo=QMTA08.emeryville.ca.mail.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/7B-01880-9DFF8984 for ; Tue, 05 Aug 2008 21:35:21 -0400 Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id yaAs1Z0090lTkoCA8pbJwc; Wed, 06 Aug 2008 01:35:18 +0000 Received: from earth.ufp ([24.13.255.226]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id ypbC1Z00F4trKQ88QpbCBo; Wed, 06 Aug 2008 01:35:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=n-O3kHwuCEAA:10 a=wRQvlts-DBEE9_ofBeEA:9 a=JNC2YwhEyHxljs-lTzL3j1uwyiUA:4 a=FHBbIDN7CdwA:10 a=LY0hPdMaydYA:10 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id 4B0A2D79E5 for ; Tue, 5 Aug 2008 20:35:12 -0500 (CDT) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AQ24lBNwQJOH for ; Tue, 5 Aug 2008 20:35:12 -0500 (CDT) Received: from luna.local (unknown [192.168.42.104]) by earth.ufp (Postfix) with ESMTPSA id 35C5FD795D for ; Tue, 5 Aug 2008 20:35:12 -0500 (CDT) To: internals@lists.php.net Date: Tue, 5 Aug 2008 20:35:12 -0500 User-Agent: KMail/1.9.9 References: <909776579.20080803142659@marcus-boerger.de> <4896EA3C.6010203@zend.com> <4897E9B5.9020006@at.wakwak.com> In-Reply-To: <4897E9B5.9020006@at.wakwak.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200808052035.12199.larry@garfieldtech.com> Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: larry@garfieldtech.com (Larry Garfield) On Tuesday 05 August 2008 12:48:37 am Moriyoshi Koizumi wrote: > I don't think there are many differences in ambiguity between > > $closure = function ($arg) { use $a; > ... > }; > > and > > $closure = function ($arg) use ($a) { > }; > > Moriyoshi > > -- > Moriyoshi Koizumi The former has no good way to differentiate between by-ref and by-value importing. The latter has a very intuitive way. That's why (IIRC) it was used. -- Larry Garfield larry@garfieldtech.com