Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20788 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42309 invoked by uid 1010); 28 Nov 2005 22:40:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42293 invoked from network); 28 Nov 2005 22:40:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2005 22:40:15 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:60606] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id EA/14-21657-E478B834 for ; Mon, 28 Nov 2005 17:40:14 -0500 Received: from [192.168.1.3] (dslb-084-063-023-175.pools.arcor-ip.net [84.63.23.175]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 325BF610282; Mon, 28 Nov 2005 23:46:42 +0100 (CET) Date: Mon, 28 Nov 2005 23:38:21 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <911930939.20051128233821@marcus-boerger.de> To: Jessie Hernandez Cc: internals@lists.php.net In-Reply-To: <0D.A2.21657.EFE7B834@pb1.pair.com> References: <0D.A2.21657.EFE7B834@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Basic Namespace Requirements From: helly@php.net (Marcus Boerger) Hello Jessie, i already showed that dropping constants in namespaces leeds to static classes or private classes. So we are just shifting here. Instead of doing work that is worth nothing you should simply try to come up with a working patch using a working separator which can clearly only be "\". best regards marcus Monday, November 28, 2005, 11:04:43 PM, you wrote: > All, > After seeing Dmitry's patch, all he is allowing inside a module are import > statements and classes. > So, the question is, can we scrap both namespace constants and namespace > functions and just stay with classes (as was agreed on several months ago, > Andi himself agreeing to it)? This would make the patch smaller, simpler, > AND would allow me to reuse the "::" operator (and there would be no > conflicts with ternary operations). > 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. > 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. > Regards, > Jessie Hernandez Best regards, Marcus