Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38452 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67555 invoked from network); 20 Jun 2008 09:51:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2008 09:51:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=kalle@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 67.19.4.138 as permitted sender) X-PHP-List-Original-Sender: kalle@php.net X-Host-Fingerprint: 67.19.4.138 8a.4.1343.static.theplanet.com Received: from [67.19.4.138] ([67.19.4.138:52942] helo=web.clantemplates.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/29-16112-8AD7B584 for ; Fri, 20 Jun 2008 05:51:38 -0400 Received: from [127.0.0.1] (helo=localhost) by web.clantemplates.com with esmtpa (Exim 4.63) (envelope-from ) id 1K9dHJ-00010c-Qq for internals@lists.php.net; Fri, 20 Jun 2008 02:51:10 -0700 Received: from 195.137.194.64 ([195.137.194.64]) by zesix.com (Horde MIME library) with HTTP; Fri, 20 Jun 2008 02:51:32 -0700 Message-ID: <20080620025132.j2yob8zocg0ogo04@zesix.com> Date: Fri, 20 Jun 2008 02:51:32 -0700 To: internals@lists.php.net References: <4856A547.3080801@gmx.net> <698DE66518E7CA45812BD18E807866CE01B11811@us-ex1.zend.net> <4858FCC7.5030305@gmx.net> <698DE66518E7CA45812BD18E807866CE01B70D73@us-ex1.zend.net> <48596C9E.2080605@gmx.net> <698DE66518E7CA45812BD18E807866CE01B70F8E@us-ex1.zend.net> <871378260.20080620103626@marcus-boerger.de> In-Reply-To: <871378260.20080620103626@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web.clantemplates.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - php.net Subject: Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP From: kalle@php.net (Kalle Sommer Nielsen) Hey I must say that the lexical keywords makes alot more sense to me which keeps the syntax readable without making it too cryptic for the unexperinced or new developer to php. I think introducing both the lexical keyword and as Andi proposed a $LEXICAL as a to the global / $GLOBALS. Both ways have potential, but I would personal go with the lexical keyword. Regrads, Kalle