Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38455 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10217 invoked from network); 20 Jun 2008 12:19:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2008 12:19:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:1375] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/81-16112-660AB584 for ; Fri, 20 Jun 2008 08:19:54 -0400 Received: from ws.home ([10.1.1.1]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Jun 2008 15:19:58 +0300 Message-ID: <485BA062.6060006@zend.com> Date: Fri, 20 Jun 2008 16:19:46 +0400 User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Lars Strojny CC: Christian Seiler , php-dev List , Andi Gutmans , Stanislav Malyshev References: <4856A547.3080801@gmx.net> <485A35A0.9050602@zend.com> <485AF253.2070400@gmx.net> <485B908D.7000106@zend.com> <1213963419.28537.13.camel@localhost> In-Reply-To: <1213963419.28537.13.camel@localhost> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jun 2008 12:19:58.0770 (UTC) FILETIME=[F4D4A920:01C8D2CF] Subject: Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP From: dmitry@zend.com (Dmitry Stogov) No it won't. Dmitry. Lars Strojny wrote: > Hi Dmitry, hi Christian, > > Am Freitag, den 20.06.2008, 15:12 +0400 schrieb Dmitry Stogov: >> $func = function ($x, $y) use $a, $b, $c { >> } > > Will lexical scoping work with normal ("named") functions too? > > function foo($x, $y) use $a, $b, $c { > } > > cu, Lars