Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31167 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58200 invoked by uid 1010); 23 Jul 2007 07:37:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58184 invoked from network); 23 Jul 2007 07:37:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2007 07:37:49 -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:55301] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/D0-49395-DCA54A64 for ; Mon, 23 Jul 2007 03:37:49 -0400 Received: from [127.0.0.1] ([192.168.17.52]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 23 Jul 2007 00:37:46 -0700 Message-ID: <46A45ABF.4030001@zend.com> Date: Mon, 23 Jul 2007 00:37:35 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Derick Rethans CC: Markus Fischer , internals References: <46A31D95.2080407@fischer.name> <46A42220.7010600@zend.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jul 2007 07:37:46.0500 (UTC) FILETIME=[5CDA8C40:01C7CCFC] Subject: Re: [PHP-DEV] Question about Namespace patch From: stas@zend.com (Stanislav Malyshev) >>> 2) How can I import all classes from a namespace at once? >> Use namespace::class. > > That's not the answer to the question. Markus was asking how to import > *all* classes from a namespace at *once*. That IS the answer. You don't. You use namespace::class instead. The whole purpose was to get them OUT of the global space, no reason to bring them back in. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com