Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34046 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 173 invoked by uid 1010); 16 Dec 2007 14:22:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 157 invoked from network); 16 Dec 2007 14:22:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2007 14:22:55 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.178.245 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 64.233.178.245 hs-out-0708.google.com Linux 2.4/2.6 Received: from [64.233.178.245] ([64.233.178.245:50359] helo=hs-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/C0-23767-3B435674 for ; Sun, 16 Dec 2007 09:22:48 -0500 Received: by hs-out-2122.google.com with SMTP id l65so1795896hsc.7 for ; Sun, 16 Dec 2007 06:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Z8wAOfJaWnOznPRpTZeVvmRX12gm2TQOQ79Mghzvhgc=; b=BKXPeqrOWcaYSf1Sr2ejBLEWYVWPQ6vwkMgDJAVoKvyBkXQqiAavnd+0UfVuvKGCWnEgMdH1bF2s/5jthO52p/4OMCeDgYbua8UyxrwozsRYHbSVzunsspFZlX4g/p1Ip3CUcpejYyc8WfwP0T5nBMqyhWYoGGCoXe855Z6gUbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CyBzVTkeg+rzRvjEYOUOUixDozyEUqUglB1KTme5FkfPPuaUS0x8J3xv26IObCXYZOGM4WQ/8TmvX7OWpl5q9xlLEMfzIcNmKHDI73dzfL9XYTmnPZJ4tAllc8wNMxr03yhONiUyADQhzHLsNeORl1YXeaNmwCLo5NeCDB525IM= Received: by 10.150.154.6 with SMTP id b6mr1895939ybe.64.1197814960873; Sun, 16 Dec 2007 06:22:40 -0800 (PST) Received: by 10.150.52.9 with HTTP; Sun, 16 Dec 2007 06:22:40 -0800 (PST) Message-ID: Date: Sun, 16 Dec 2007 17:22:40 +0300 To: "Stanislav Malyshev" Cc: "troels knak-nielsen" , internals@lists.php.net In-Reply-To: <4764CC64.3040608@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <98b8086f0712150818n40056cedyf0aae7a5a08a27b7@mail.gmail.com> <4764CC64.3040608@zend.com> Subject: Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP From: indeyets@gmail.com ("Alexey Zakhlestin") On 12/16/07, Stanislav Malyshev wrote: > 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. The difference is, that it is compile-time and create_function is run-time > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/