Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40140 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98529 invoked from network); 29 Aug 2008 17:52:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Aug 2008 17:52:06 -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 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:64269] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/9F-28247-54738B84 for ; Fri, 29 Aug 2008 13:52:06 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 29 Aug 2008 20:53:06 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 29 Aug 2008 10:53:02 -0700 Message-ID: <48B8377E.5070905@zend.com> Date: Fri, 29 Aug 2008 10:53:02 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Marcus Boerger CC: Hannes Magnusson , Felipe Pena , Lukas Kahwe Smith , PHP Internals List , =?ISO-8859-1?Q?Johannes_Schl=FCter?= References: <64B4CECA-980F-4738-8B05-E7935741D7BB@pooteeweet.org> <7f3ed2c30808271132x7443ea3gc4df903a3a2c73ec@mail.gmail.com> <322434106.20080827234712@marcus-boerger.de> <1219885057.5961.13.camel@pena> <7f3ed2c30808272332m3066d1e5s677bb91f4b80c4b5@mail.gmail.com> <48B6E3A8.8030903@zend.com> <112434946.20080829142412@marcus-boerger.de> In-Reply-To: <112434946.20080829142412@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Aug 2008 17:53:02.0641 (UTC) FILETIME=[150FE210:01C90A00] Subject: Re: [PHP-DEV] alpha2 scheduled From: stas@zend.com (Stanislav Malyshev) Hi! > It wasn't designed to have multiple namespaces at all to begin with. But as You mean multiple namespaces per file, right? Otherwise it sounds kind of silly. Yes, it wasn't designed to have multiple namespaces per file, and it's really bad idea to have multiple namespaces per file in 90% of the cases. In the remaining 10% it's probably a bad idea too. > How so? > > namespace foo { > namespace bar { > class baz {} > } > } > > According to your won words it is all about name substitution. Explicitly > you were talking about simple text replacement. Now that in mind I see and No, it's not simple replacement, because hierarchy brings hierarchical resolution, like it is in Ruby. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com