Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39209 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54379 invoked from network); 22 Jul 2008 23:30:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2008 23:30:44 -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.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:43300] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/92-41758-3AD66884 for ; Tue, 22 Jul 2008 19:30:44 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 23 Jul 2008 02:31:15 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Jul 2008 16:31:09 -0700 Message-ID: <48866DBD.6090809@zend.com> Date: Tue, 22 Jul 2008 16:31:09 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Marcus Boerger CC: Lars Strojny , Christian Seiler , Lukas Kahwe Smith , PHP Developers Mailing List , kalle@zesix.com References: <8A5D4032-1FC4-44BB-90F3-61B802F10159@pooteeweet.org> <6BD46F4A-2733-4160-9A3E-AD49F3002865@pooteeweet.org> <4885CF6B.5060600@gmx.net> <1216731965.16085.8.camel@localhost> <48863E7C.8040900@zend.com> <1216757703.17574.3.camel@localhost> <48864C2E.5020208@zend.com> <17010401067.20080723004440@marcus-boerger.de> <48866538.80101@zend.com> <1915350579.20080723012024@marcus-boerger.de> In-Reply-To: <1915350579.20080723012024@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jul 2008 23:31:09.0925 (UTC) FILETIME=[05874150:01C8EC53] Subject: Re: [PHP-DEV] closures questions From: stas@zend.com (Stanislav Malyshev) Hi! > Hmmmm, the amount of problems is pretty long. So even though it might sound > cool to do it. It is the better deceision to not allow it. Also you've > shown several paths where it would slow general execution down. Yet I hate > not being able to easily make it work. Well, $foo->bar->__invoke() is not that hard. But if we find a way to make it not clash with __get/__call and whole story with properties - I'm all for it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com