Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50723 invoked by uid 1010); 19 Mar 2007 22:08:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50708 invoked from network); 19 Mar 2007 22:08:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2007 22:08:34 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:59753] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/86-01604-FD90FF54 for ; Mon, 19 Mar 2007 17:08:33 -0500 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 52E07DF016C; Mon, 19 Mar 2007 23:08:29 +0100 (CET) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29960-02; Mon, 19 Mar 2007 23:08:27 +0100 (CET) Received: from [127.0.0.1] (unlimited01.swisscom-mobile.ch [138.188.100.224]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id 851E3DF0022; Mon, 19 Mar 2007 23:08:24 +0100 (CET) Message-ID: <45FF09D4.2070504@pooteeweet.org> Date: Tue, 20 Mar 2007 00:08:20 +0200 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Stanislav Malyshev Cc: Andi Gutmans , Robert Cummings , Wez Furlong , Sean Coates , internals@lists.php.net 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> <1174336464.24632.110.camel@blobule> <45FEF9A5.4050409@zend.com> <1174338801.24632.124.camel@blobule> <45FEFDCE.7050100@zend.com> <1174339527.24632.129.camel@blobule> <45FF01FE.6070504@zend.com> <698DE66518E7CA45812BD18E807866CE185525@us-ex1.zend.net> <45FF08CA.1060107@zend.com> In-Reply-To: <45FF08CA.1060107@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP From: mls@pooteeweet.org (Lukas Kahwe Smith) Stanislav Malyshev wrote: >> Thoughts? > > This might work, still not sure if we really want that in PHP. On one > side, it's cool, on other side closures can develop into a very messy > code :) Yeah well .. for the single task of callbacks they are great and prevent a lot of messiness .. I think its messy to pollute the namespace for something which is not intended for reuse .. maybe we need to artificially limit its uses just like for "goto". regards, Lukas