Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66491 invoked by uid 1010); 16 Dec 2007 19:56:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66476 invoked from network); 16 Dec 2007 19:56:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2007 19:56:33 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; 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:39821] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/59-23767-CE285674 for ; Sun, 16 Dec 2007 14:56:33 -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 21:56:25 +0200 Received: from [192.168.17.49] ([192.168.17.49]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 16 Dec 2007 11:56:22 -0800 Message-ID: <476582E6.7020808@zend.com> Date: Sun, 16 Dec 2007 11:56:22 -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> <4764CC64.3040608@zend.com> <98b8086f0712160324n653bbb61v17fbf1d364ae3b51@mail.gmail.com> In-Reply-To: <98b8086f0712160324n653bbb61v17fbf1d364ae3b51@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Dec 2007 19:56:22.0089 (UTC) FILETIME=[BB504B90:01C8401D] Subject: Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP From: stas@zend.com (Stanislav Malyshev) > Actually it's the opposite. With create_function, you can bind > variables, by marshalling them to a string and embed them in the That's not binding. But the problem is, seeing this, one expects closure. And it's no closure. > So it's different from create_function, in that it doesn't allow > binding of variables, but I don't see why that should stop us from > implementing, considering the benefits it gives in readability and > debugging. I don't see how it'd help anything in debugging. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com