Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28443 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95430 invoked by uid 1010); 19 Mar 2007 20:41:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95415 invoked from network); 19 Mar 2007 20:41:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2007 20:41:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=wez@omniti.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=wez@omniti.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain omniti.com designates 66.225.209.50 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: wez@omniti.com X-Host-Fingerprint: 66.225.209.50 mail.omniti.com Linux 2.5 (sometimes 2.4) (4) Received: from [66.225.209.50] ([66.225.209.50:54061] helo=mail.omniti.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/70-01604-095FEF54 for ; Mon, 19 Mar 2007 15:41:52 -0500 X-DKIM: Ecelerity dkim_sign implementing draft-ietf-dkim-base-00 DKIM-Signature: a=rsa-sha1; d=omniti.com; s=test; t=1174336909; c=simple/simple; q=dns; i=@omniti.com; h=From; b=IrAf4uSUPhmzVOgSXK3dQU/w9a4amYBaJKRqXsPPo4/NCBgLHGzpRWsgILHreoYY Q2dK7o1m4NvMhk7oPgzz4qLAKFQJD3xqx4nBMgTb0Lz1lDkmB6Jdtzp09R4Wglwo X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=test; d=omniti.com; h=Authentication-Results:Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=JarMBS2fytPDBDeYciNx6fotuSy6HT0MN/He3HaiwYgZfuJzudRyH//AUnXmuoSI vBALMTDegkWsKVfRXpD0lxTmkJunOKWVJFNSd9LaRvzMngfrbVhKLhRwZxLen4wD Authentication-Results: mail.omniti.com smtp.user=wez; auth=pass (LOGIN) Received: from [66.80.117.2] ([66.80.117.2:60564] helo=[10.80.116.165]) by mail.omniti.com (ecelerity 2.1.1.12 r(14453)) with ESMTPSA (cipher=AES128-SHA) id 7D/A1-26454-885FEF54 for ; Mon, 19 Mar 2007 16:41:49 -0400 In-Reply-To: <45FEEF52.1060002@zend.com> References: <86478A67-DCA2-4000-9EF0-DA4338E8389B@omniti.com> <45FDF031.4010508@zend.com> <45FE2312.1050506@zend.com> <45FED6D9.8030307@caedmon.net> <45FEDAE5.2010309@zend.com> <45FEE396.7040905@caedmon.net> <0757BDEA-65F5-4123-B647-060DCA84B4B0@omniti.com> <45FEEF52.1060002@zend.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: Sean Coates , internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Mon, 19 Mar 2007 16:41:44 -0400 To: Stanislav Malyshev X-Mailer: Apple Mail (2.752.3) Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP From: wez@omniti.com (Wez Furlong) On Mar 19, 2007, at 4:15 PM, Stanislav Malyshev wrote: > How this is going to work? Variables are not interpreted by the > compiler now... > Well, the compiler would make a list of variables names to import and store those in the zend_function structure. Then at the time the function is bound (in response to a DECLARE_FUNCTION opcode), the variable reference could be fixed up in the "same" way that global is handled. --Wez.