Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28545 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62779 invoked by uid 1010); 22 Mar 2007 11:36:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62764 invoked from network); 22 Mar 2007 11:36:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Mar 2007 11:36:20 -0000 Authentication-Results: pb1.pair.com header.from=michael.walter@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=michael.walter@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.184 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: michael.walter@gmail.com X-Host-Fingerprint: 64.233.182.184 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.184] ([64.233.182.184:36286] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/E9-00793-23A62064 for ; Thu, 22 Mar 2007 06:36:19 -0500 Received: by nf-out-0910.google.com with SMTP id l35so1477479nfa for ; Thu, 22 Mar 2007 04:36:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YEELZVxMZYbYmHPBhuiku89yr9T1Ibv1XVjaKS2oGfHi7hs4b03x5qji8JReKJiGpVA/l/0SXeOyxMjfIx9aUFoUFx5BmPEq0vYH+lfi8rhcw/eIorMR5vdNXerOGYNmkmBXU/4VCaKk9XHQQVTe2aFRsUzadApNmSz/NxZwHkM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PSa1fR9tkixW4PjR+6WIzr9AplI67cxrcz51bOz6pm38MdIiZ+EUzojDx3iIEeSm9/jjovptqfFnnKxwEL7a+RYPKdZ5eGZPvsTAfP8OCA2fjiSVtbAC68irky2OuaazRMvNniKWshyAZfcCGYiYlaIzJdZc0UkDjD8AJGo85Wg= Received: by 10.78.201.2 with SMTP id y2mr875865huf.1174563375503; Thu, 22 Mar 2007 04:36:15 -0700 (PDT) Received: by 10.78.131.14 with HTTP; Thu, 22 Mar 2007 04:36:14 -0700 (PDT) Message-ID: <877e9a170703220436l267d2648jc99aaaf9cccecfdd@mail.gmail.com> Date: Thu, 22 Mar 2007 12:36:14 +0100 To: ceo@l-i-e.com Cc: internals@lists.php.net In-Reply-To: <40259.216.230.84.67.1174435351.squirrel@www.l-i-e.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <86478A67-DCA2-4000-9EF0-DA4338E8389B@omniti.com> <45FEF9A5.4050409@zend.com> <1174338801.24632.124.camel@blobule> <45FEFDCE.7050100@zend.com> <1174339527.24632.129.camel@blobule> <45FF01FE.6070504@zend.com> <698DE66518E7CA45812BD18E807866CE185525@us-ex1.zend.net> <698DE66518E7CA45812BD18E807866CE18559A@us-ex1.zend.net> <40259.216.230.84.67.1174435351.squirrel@www.l-i-e.com> Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP From: michael.walter@gmail.com ("Michael Walter") Hi, On 3/21/07, Richard Lynch wrote: > I think solving the common need for 99% of the people with a nice > simple clean anonymous function is PHP way. Right. But then those people add 2 + 2 and get frustrated because they can't do the obvious ;) > If somebody has a real-life demonstrated NEED for the > closures/scoping, by all means, bring it up. Plain old google brought up: http://groovy.codehaus.org/Martin+Fowler's+closure+examples+in+Groovy among other hits (Groovy syntax should be easy enough to follow). Regards, Michael