Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20792 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52839 invoked by uid 1010); 28 Nov 2005 22:50:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52823 invoked from network); 28 Nov 2005 22:50:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2005 22:50:31 -0000 X-Host-Fingerprint: 84.60.16.212 dslb-084-060-016-212.pools.arcor-ip.net Received: from ([84.60.16.212:13436] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id BD/D5-21657-7B98B834 for ; Mon, 28 Nov 2005 17:50:31 -0500 Message-ID: To: internals@lists.php.net Date: Mon, 28 Nov 2005 23:50:26 +0100 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 References: <0D.A2.21657.EFE7B834@pb1.pair.com> In-Reply-To: <0D.A2.21657.EFE7B834@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Posted-By: 84.60.16.212 Subject: Re: Basic Namespace Requirements From: oliver.graetz@arcor.de (=?ISO-8859-15?Q?Oliver_Gr=E4tz?=) Jessie Hernandez schrieb: > I think this is the best solution thus far. If any one of you still feels a > need for constants/functions, PLEASE show me a _valid_ example that cannot > be accomplished by just simply putting the constant/function inside a class > in the namespace. No complaints from me. I try to avoid both since a long time. Functions would be nice, simply for convenience (sometimes one wants to use something so often that a static method just isn't as nice), but I really don't see any need for global constants EXCEPT that supporting everything that's currently OUTSIDE of namespaces would allow to completetly clean it without further work. > If I don't hear of any valid arguments, then I'm going to go ahead and scrap > constants and functions and then concentrate on the final details of the > patch. Did you give the "no namespaces in the ternary" idea a try? Even if this doesn't make it I'd be happy to know if it works. Anyways, +2 for both : and :: OLLi PS: I'm now preparing the final table. We should not stretch this any more ;-) The First subscribers are getting heart attcks from too much mail...