Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32927 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16537 invoked by uid 1010); 23 Oct 2007 04:19:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16522 invoked from network); 23 Oct 2007 04:19:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2007 04:19:31 -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.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:9736] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/60-13350-2567D174 for ; Tue, 23 Oct 2007 00:19:31 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 23 Oct 2007 06:19:27 +0200 Received: from [192.168.17.57] ([192.168.17.57]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 Oct 2007 21:19:24 -0700 Message-ID: <471D764C.1080004@zend.com> Date: Mon, 22 Oct 2007 21:19:24 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Chuck Hagenbuch CC: internals@lists.php.net, greg@chiaraquartet.net References: <20071019224202.20245u5zry52h5c8@technest.org> <471A6B32.3080401@zend.com> <20071020172658.1680416b83wxgv6s@technest.org> <471A7C88.6090904@zend.com> <20071020184554.69044keujpgfelus@technest.org> <471A8A12.3050407@zend.com> <20071020191948.19935z9hoqcn9c84@technest.org> <471A9049.1020408@zend.com> <20071020194217.98794nbyt3bwrlnk@technest.org> <471AEF26.5000601@zend.com> <20071021105124.85283gxiqqx9zse8@technest.org> <471BA74C.1040103@zend.com> <20071021203755.11105vn0ycds6bs4@technest.org> <471D4623.4090208@zend.com> <20071022235530.82912k3mlfz2ajsw@technest.org> In-Reply-To: <20071022235530.82912k3mlfz2ajsw@technest.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Oct 2007 04:19:24.0140 (UTC) FILETIME=[E47F8AC0:01C8152B] Subject: Re: [PHP-DEV] Order of class resolution with namespaces and autoload From: stas@zend.com (Stanislav Malyshev) > namespace Foo; > import Exception; Once more, import with one-term argument is a no-op. And will stay so. That's why we have the warning. > I think that either import ::Exception needs to work, or import > Exception shouldn't issue a warning. We'll discuss this one. I wonder if anybody else feels a need for it? > I think you need to envision working in a large team on a large project > here, but you may simply not see the need. I'd say if you have large team which has a possibility of having classes with same names running into each other, why not having them reside in different namespaces? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com