Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28552 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62772 invoked by uid 1010); 22 Mar 2007 15:00:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62757 invoked from network); 22 Mar 2007 15:00:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Mar 2007 15:00:38 -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.187 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.187 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.187] ([64.233.182.187:19956] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/D1-46365-41A92064 for ; Thu, 22 Mar 2007 10:00:37 -0500 Received: by nf-out-0910.google.com with SMTP id l35so1572378nfa for ; Thu, 22 Mar 2007 08:00:32 -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=AhpPDVpKr9pSyceyyMizb0w6dkDDOCeZQdkUX+F/xNhQvpxQ7x+El+aqfeyimFPA4bX94L7+eL9j3rd2xHD3qkgJV7Hlu18PLb4doZx44i054ngBWvDvz//1J5nh/dE+RBNMYs+gDAnILV+VGhy76LaoTKkwNvqtXESybBVQzAA= 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=VzvluK2Has52eRcB9B2OfRVcG+2SkeB/CuF0tasqx/xpCGxcQJrYNqREtywhu8PHg1ijJTqqGEdXk6Zfl2DGR/XvZB+MuynMRT6HA83d3iYlwb44ISiDeXTMJcDORHqedtjrtf/cYNZEVHFzM3XljPIsvJJtSb7jj5Y2Snq9Vfk= Received: by 10.78.203.13 with SMTP id a13mr1009652hug.1174575632364; Thu, 22 Mar 2007 08:00:32 -0700 (PDT) Received: by 10.78.131.14 with HTTP; Thu, 22 Mar 2007 08:00:32 -0700 (PDT) Message-ID: <877e9a170703220800p76900b0dpc93f4919f8dace96@mail.gmail.com> Date: Thu, 22 Mar 2007 16:00:32 +0100 To: "Sean Coates" Cc: internals@lists.php.net In-Reply-To: <4602976B.5040909@caedmon.net> 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> <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> <877e9a170703220436l267d2648jc99aaaf9cccecfdd@mail.gmail.com> <46028001.7060204@cschneid.com> <4858f9d90703220731g3752d1e8w368f59f30ddb8086@mail.gmail.com> <4602976B.5040909@caedmon.net> Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP From: michael.walter@gmail.com ("Michael Walter") On 3/22/07, Sean Coates wrote: > That said, I like the idea of a first class callable object. > For the example above, doing this: > > class SortByKey implements Callable {} Note that this is what Java did since day one (it was thought that anonymous inner classes were good enough). I heard that nowadays people seem to think differently; apparently there are multiple closure proposals for JDK 7. Regards, Michael