Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31820 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86550 invoked by uid 1010); 21 Aug 2007 23:48:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86535 invoked from network); 21 Aug 2007 23:48:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2007 23:48:51 -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 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:44558] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/20-19197-1E97BC64 for ; Tue, 21 Aug 2007 19:48:51 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 21 Aug 2007 16:48:47 -0700 Message-ID: <46CB79DD.5000109@zend.com> Date: Tue, 21 Aug 2007 16:48:45 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Gregory Beaver CC: Dmitry Stogov , 'internals Mailing List' References: <46C9F217.8040804@chiaraquartet.net> <000001c7e3cb$9a80b160$6e02a8c0@thinkpad> <46CB3DF1.5090203@chiaraquartet.net> <46CB55A0.3050904@zend.com> <46CB59C0.1020306@chiaraquartet.net> <46CB5C06.6050006@zend.com> <46CB71FD.9070407@chiaraquartet.net> In-Reply-To: <46CB71FD.9070407@chiaraquartet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Aug 2007 23:48:47.0337 (UTC) FILETIME=[D0FF8590:01C7E44D] Subject: Re: [PHP-DEV] [PATCH] allowing multiple namespaces per file plus namespaces with brackets From: stas@zend.com (Stanislav Malyshev) > Right, that's why I was saying expansion of imports would be necessary, > meaning that all references to "bar" would need to be translated to > "otherfoo::bar" Thatnslated by whom? How? I'm not sure I understand. > CG(current_import) = CG(saved_import) and freeing CG(saved_import). > This would of course mean that top-level import is not the same as > import within a namespace, would that make sense? Not really, but that's the only way to make it work with any kind of consistency. That's why I'm saying this thing is more complex that it appears at the first glance. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com