Re: Namespace question

From: Date: Fri, 17 Aug 2007 17:23:10 +0000
Subject: Re: Namespace question
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-31704@lists.php.net to get a copy of this message
So my question is: Anyone thinking in doing const for namespaces thus calling something like What::NAME; // echo 'booo'
Yep, we are thinking of allowing const in namespace (and maybe even outside, since it'd be basically the same) but we didn't arrive yet to any decision if we can implement it in a good way - there's some ambiguity which can have negative impact on performance, we'd need to see how we can deal with it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#31704) next »