Basic Namespace Requirements

From: Date: Mon, 28 Nov 2005 22:04:43 +0000
Subject: Basic Namespace Requirements
Groups: php.internals 
Request: Send a blank email to internals+get-20783@lists.php.net to get a copy of this message
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

« previous php.internals (#20783) next »