> It would mean we'd need to have nested classes.

or limit namespaces to only contain classes:

<namespace>::<namespace>::<...>::<class>::method();

is there a reason why a namespace should contain anything other than
classes ?
we have static functions and static members in classes, no need for them
in namespaces too.

we can still have classes and namespaces with the same name this way,
because a namespace must
always be followed by at least one '::' and there is no Foo::bar()
class/namespace ambiguity because
a namespace can't contain a function.

harald.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to