Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34061 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8080 invoked by uid 1010); 17 Dec 2007 13:09:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8065 invoked from network); 17 Dec 2007 13:09:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2007 13:09:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:50842] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/C2-20687-F1576674 for ; Mon, 17 Dec 2007 08:09:52 -0500 Received: from dhcp-172-28-204-176.zrh.corp.google.com (unknown [193.142.125.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 858391B35F3; Mon, 17 Dec 2007 14:09:48 +0100 (CET) Date: Mon, 17 Dec 2007 14:09:47 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <623025726.20071217140947@marcus-boerger.de> To: "Alexey Zakhlestin" , "Wez Furlong" CC: "Stanislav Malyshev" , "troels knak-nielsen" , In-Reply-To: References: <98b8086f0712150818n40056cedyf0aae7a5a08a27b7@mail.gmail.com> <4764CC64.3040608@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP From: helly@php.net (Marcus Boerger) Hello Alexey, and for that reason we should do it! Can't Wez simply apply this? marcus Sunday, December 16, 2007, 3:22:40 PM, you wrote: > 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/ Best regards, Marcus