Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39196 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10828 invoked from network); 22 Jul 2008 20:08:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2008 20:08:47 -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.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:42421] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/C0-04511-C4E36884 for ; Tue, 22 Jul 2008 16:08:46 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Jul 2008 23:09:16 +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 13:08:10 -0700 Message-ID: <48863E2B.8040001@zend.com> Date: Tue, 22 Jul 2008 13:08:11 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: PHP Developers Mailing List , kalle@zesix.com References: <8A5D4032-1FC4-44BB-90F3-61B802F10159@pooteeweet.org> <6BD46F4A-2733-4160-9A3E-AD49F3002865@pooteeweet.org> In-Reply-To: <6BD46F4A-2733-4160-9A3E-AD49F3002865@pooteeweet.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jul 2008 20:08:10.0951 (UTC) FILETIME=[AA4B4D70:01C8EC36] Subject: Re: [PHP-DEV] closures questions From: stas@zend.com (Stanislav Malyshev) Hi! > so do we even want the toString() method? IMHO we should drop toString from Closure. >> Maybe it could return some relevant information for exporting the >> closure across >> data > > not a huge biggy to me. I don't think Closure can be meaningfully exported. Can we prohibit it? > I guess this is a draw back from the OO approach (rather than the > original resource approach), but solvable? I think we can make working clone there - just copy all data, etc. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com