Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34044 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28350 invoked by uid 1010); 16 Dec 2007 06:57:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28335 invoked from network); 16 Dec 2007 06:57:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2007 06:57:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:64044] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/42-30742-D6CC4674 for ; Sun, 16 Dec 2007 01:57:50 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 16 Dec 2007 08:57:45 +0200 Received: from [192.168.17.49] ([192.168.17.49]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 15 Dec 2007 22:57:42 -0800 Message-ID: <4764CC64.3040608@zend.com> Date: Sat, 15 Dec 2007 22:57:40 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: troels knak-nielsen CC: internals@lists.php.net References: <98b8086f0712150818n40056cedyf0aae7a5a08a27b7@mail.gmail.com> In-Reply-To: <98b8086f0712150818n40056cedyf0aae7a5a08a27b7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Dec 2007 06:57:42.0715 (UTC) FILETIME=[F46590B0:01C83FB0] Subject: Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP From: stas@zend.com (Stanislav Malyshev) I think the problem there is that this syntax wouldn't support external variables, and without them there's not much difference between that and create_function. troels knak-nielsen wrote: > What was the conclusion on Wez' patch from march [1]? The discussion > seemed to steer a bit off, on the discussion of scoping rules, but is > there any reason _not_ to implement Wez' patch in HEAD? > Even if it doesn't entirely replace create_function, it would be nice > to have as a compile-time alternative. > > [1] http://groups.google.com/group/mailing.www.php-dev/browse_thread/thread/a2c3296dc791369a/075209b288cb28de > -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com