Hi Dmitry, On Wed, 2007-08-22 at 13:02 +0400, Dmitry Stogov wrote: > Hi, > > The proposed patch implements namespace support for constants. > It allows to declare constants in namespaces in the same way as in classes. > And these constants may be used in the same may as namespaces' functions.
I like the idea. Am I right with the assumption, from scrolling over the patch, that "const" outside any namespace would work, too, meaning we could get compile-time constants even outside a namespace? johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php