Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31704 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38009 invoked by uid 1010); 17 Aug 2007 17:23:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37992 invoked from network); 17 Aug 2007 17:23:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2007 17:23:24 -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:35426] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/A1-26665-389D5C64 for ; Fri, 17 Aug 2007 13:23:20 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Aug 2007 10:23:11 -0700 Message-ID: <46C5D97E.5080001@zend.com> Date: Fri, 17 Aug 2007 10:23:10 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: David Coallier CC: PHP Internals List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Aug 2007 17:23:11.0635 (UTC) FILETIME=[49648E30:01C7E0F3] Subject: Re: [PHP-DEV] Namespace question From: stas@zend.com (Stanislav Malyshev) > So my question is: Anyone thinking in doing const for namespaces thus > calling something like > > What::NAME; // echo 'booo' Yep, we are thinking of allowing const in namespace (and maybe even outside, since it'd be basically the same) but we didn't arrive yet to any decision if we can implement it in a good way - there's some ambiguity which can have negative impact on performance, we'd need to see how we can deal with it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com