Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36005 invoked by uid 1010); 10 Sep 2007 23:38:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 35990 invoked from network); 10 Sep 2007 23:38:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2007 23:38:27 -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.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:59674] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/81-28088-D65D5E64 for ; Mon, 10 Sep 2007 19:38:24 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 10 Sep 2007 16:38:19 -0700 Message-ID: <46E5D567.8090205@zend.com> Date: Mon, 10 Sep 2007 16:38:15 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: David Coallier CC: PHP Internals References: <46E5D163.4050800@zend.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Sep 2007 23:38:19.0176 (UTC) FILETIME=[AAD8C280:01C7F403] Subject: Re: [PHP-DEV] multiple namespace per file From: stas@zend.com (Stanislav Malyshev) > Ok, I was wondering to myself, do you guys think it would be possible > to do something like having an endnamespaces; keyword that would put > an end to the namespace definition? Oh no :) It doesn't look good and it doesn't solve the problem. Hint: the braces have the same problem (that's why I asked not to suggest them :) since the problem is per-file imports vs. multiple global spaces. I can explain more if you wish but basically it's not about finding the right delimiter, it's about making something that would work when files are combined together (repeatedly). If you allow global space there, it starts to look and work seriously weird. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com