Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20496 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54141 invoked by uid 1010); 26 Nov 2005 06:35:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54126 invoked from network); 26 Nov 2005 06:35:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 06:35:12 -0000 X-Host-Fingerprint: 69.64.38.41 bluga.net Linux 2.5 (sometimes 2.4) (4) Received: from ([69.64.38.41:48928] helo=bluga.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 75/CA-56276-F1208834 for ; Sat, 26 Nov 2005 01:35:11 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by bluga.net (Postfix) with ESMTP id 49DA221CB99; Sat, 26 Nov 2005 00:36:43 -0600 (CST) Received: from bluga.net ([127.0.0.1]) by localhost (bluga.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29801-11; Sat, 26 Nov 2005 00:36:43 -0600 (CST) Received: from [192.168.1.101] (ftcl002.digis.net [66.17.140.42]) by bluga.net (Postfix) with ESMTP id 9E36E21CA13; Sat, 26 Nov 2005 00:36:40 -0600 (CST) Message-ID: <43880213.3020204@php.net> Date: Sat, 26 Nov 2005 00:34:59 -0600 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jessie Hernandez CC: internals@lists.php.net References: <7.0.0.16.2.20051124161240.0573e640@zend.com> <90.0E.56276.6D207834@pb1.pair.com> <200511251419.56809.pookey@pookey.co.uk> <57.B8.56276.65B27834@pb1.pair.com> <73998811.20051125204046@marcus-boerger.de> <438782C6.80008@gmail.com> <43878626.5060300@lerdorf.com> <512771162.20051125225926@marcus-boerger.de> <43878C41.4030205@gmail.com> <43878D08.4020105@lerdorf.com> <43879039.5070805@gmail.com> In-Reply-To: <43879039.5070805@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new using ClamAV at bluga.net Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: cellog@php.net (Greg Beaver) Jessie Hernandez wrote: > 1) Do not allow constants in namespaces, just stick to functions and > classes. I am confused as to why we need namespaced constants. Now that we have class constants, this is a far better way to "namespace" constants. I was also under the impression that this was far more efficient than using define() because it can almost always be evaluted at compile-time. Greg