Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28312 invoked by uid 1010); 28 Nov 2005 22:04:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28297 invoked from network); 28 Nov 2005 22:04:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2005 22:04:46 -0000 X-Host-Fingerprint: 64.253.207.194 miami194.us.univision.com Received: from ([64.253.207.194:16676] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 0D/A2-21657-EFE7B834 for ; Mon, 28 Nov 2005 17:04:46 -0500 Message-ID: <0D.A2.21657.EFE7B834@pb1.pair.com> To: internals@lists.php.net Date: Mon, 28 Nov 2005 17:04:43 -0500 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Posted-By: 64.253.207.194 Subject: Basic Namespace Requirements From: jrhernandez05@gmail.com ("Jessie Hernandez") 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