Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38443 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5588 invoked from network); 20 Jun 2008 05:23:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2008 05:23:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:15454] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/18-54491-CCE3B584 for ; Fri, 20 Jun 2008 01:23:25 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Jun 2008 08:23:32 +0300 Received: from [192.168.17.1] ([192.168.17.1]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Jun 2008 22:22:59 -0700 Message-ID: <485B3EA7.2030008@zend.com> Date: Thu, 19 Jun 2008 22:22:47 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Andrei Zmievski CC: Marcus Boerger , Christian Seiler , Johannes Schlueter , php-dev List References: <4856A547.3080801@gmx.net> <1961603263.20080617120320@marcus-boerger.de> <4857ACE1.3050501@gmx.net> <1178748433.20080617211038@marcus-boerger.de> <48580E5C.9090100@zend.com> <1164326521.20080617215115@marcus-boerger.de> <485AD925.10502@gravitonic.com> In-Reply-To: <485AD925.10502@gravitonic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jun 2008 05:22:59.0530 (UTC) FILETIME=[B4339AA0:01C8D295] Subject: Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP From: stas@zend.com (Stanislav Malyshev) Hi! > Yes, I would rather put it in 5.4 (or whatever the next version) is and > make sure that along with lambdas/closures we have a way of referring to > functions/methods as first-class objects. Maybe we could make some object handler so that $object($foo) would work and treat object as "functional object" called on $foo and then have both reflection and closure object implement it? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com