Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28421 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27522 invoked by uid 1010); 19 Mar 2007 13:03:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27507 invoked from network); 19 Mar 2007 13:03:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2007 13:03:23 -0000 X-Host-Fingerprint: 12.226.174.98 12-226-174-98.client.mchsi.com Received: from [12.226.174.98] ([12.226.174.98:8794] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/89-33476-81A8EF54 for ; Mon, 19 Mar 2007 08:03:21 -0500 Message-ID: To: internals@lists.php.net Date: Mon, 19 Mar 2007 08:05:18 -0500 User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 References: <86478A67-DCA2-4000-9EF0-DA4338E8389B@omniti.com> <24F7763B-824F-42B9-B7DA-C831BCF37D04@omniti.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 12.226.174.98 Subject: Re: PATCH: anonymous functions in PHP From: dragonwing@dragonu.net (Jacob Santos) Hey, thanks, I was researching this exact same thing. You make it appear much easier than it is. You've just saved me many months, weeks, and hours trying to figure out how to mess with the internals of the Zend Engine. For that, I am most grateful. Also, I would love to see this in PHP, at the very least it would negate the argument of those who say PHP doesn't support anonymous functions. Jacob Santos > Updated patch at http://pastebin.ca/400952 > Not 100% sure if my hack in zend_compile.c is righteous, but it doesn't > seem too far wrong. > > --Wez.