Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1701 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2007 invoked from network); 19 May 2003 14:45:36 -0000 Received: from unknown (HELO longsword.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 19 May 2003 14:45:36 -0000 Received: from ip-66-80-117-2.nyc.megapath.net ([66.80.117.2] helo=maya.local.) by longsword.omniti.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.14) id 19HltQ-0008KX-IF; Mon, 19 May 2003 10:45:36 -0400 Date: Mon, 19 May 2003 10:47:45 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v543) Cc: internals@lists.php.net To: Sterling Hughes In-Reply-To: <1053350193.790.91.camel@hasele> Message-ID: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.543) Subject: Re: [PHP-DEV] Code References From: george@omniti.com (George Schlossnagle) References: <1053350193.790.91.camel@hasele> Excuse my ignorance, but how does this differ from the features offered by create_function? (Other than having nicer aesthetics.) On Monday, May 19, 2003, at 09:16 AM, Sterling Hughes wrote: > Hi, > > I figure I'll just throw this out into the wilderness, I want closures > and function pointers in PHP. In other words I want the ability to do: > > $var = function ($a, $b) { > return $a + $b; > };