Re: Re: Namespace resolution rules has been changed?

From: Date: Mon, 10 Nov 2008 23:00:35 +0000
Subject: Re: Re: Namespace resolution rules has been changed?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-41847@lists.php.net to get a copy of this message
Or Zend Framework source code. There is no class extending class from subpackage (class Zend_View extends Zend_View_Abstract is not subpackage, viz http://framework.zend.com/wiki/display/ZFPROP/Naming+conventions+for+2.0+-+Matthew+Ratzloff). * *In PHP nothing bubbles, hence this doesn't work. We have just one exception to this, with global functions in local space which "bubble up" to global even without the prefix (which I believe will come to bite us later on). * *I understand but I think it doesn't matter. PHP has not qualified identifiers yet, so any qualified identifier can be understand as and only as fully qualified identifier (ie "absolute path"), like former namespace implementation does, and not like "relative path". David Grudl
The Zend Framework is chock full of classes reaching for inner classes and providing them to the world in the form of Adapters, Factories, Drivers, etc. Regards, Stan Vassilev

« previous php.internals (#41847) next »