RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend
Engine 2] namespaces ambiguity

From: Date: Mon, 01 Oct 2001 15:41:37 +0000
Subject: RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend
Engine 2] namespaces ambiguity
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66930@lists.php.net to get a copy of this message
> 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.

« previous php.dev (#66930) next »