Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42694 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39512 invoked from network); 19 Jan 2009 08:32:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2009 08:32:13 -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 63.205.162.116 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.116 us-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [63.205.162.116] ([63.205.162.116:30781] helo=us-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/F7-26074-B8A34794 for ; Mon, 19 Jan 2009 03:32:13 -0500 Received: from [192.168.17.98] ([192.168.17.98]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 Jan 2009 00:33:03 -0800 Message-ID: <49743A89.3070607@zend.com> Date: Mon, 19 Jan 2009 00:32:09 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Marcus Boerger CC: Ionut Gabriel Stan , internals@lists.php.net References: <1016989528.20090112233204@marcus-boerger.de> <496BCD33.4080703@zend.com> <133861245.20090113225847@marcus-boerger.de> <496D2074.3070303@zend.com> <496DD269.4050701@gmail.com> <496E12CE.2080403@zend.com> <1956503865.20090117212630@marcus-boerger.de> In-Reply-To: <1956503865.20090117212630@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jan 2009 08:33:03.0810 (UTC) FILETIME=[8BAB6220:01C97A10] Subject: Re: [PHP-DEV] [RFC] prototyping From: stas@zend.com (Stanislav Malyshev) Hi! > It is a mess right now. You assign a closure to another method and get > access to the original owners private members. That is not only unexpected Could you give a code example? I'm not sure I understand what you mean by access (or "assign closure to a method" for that matter) - if access provided by the closure, it's exactly the intent of the closure. If some other access, then please explain which one. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com