Jessie Hernandez wrote:
> 1) Do not allow constants in namespaces, just stick to functions and
> classes.

I am confused as to why we need namespaced constants.  Now that we have
class constants, this is a far better way to "namespace" constants.  I
was also under the impression that this was far more efficient than
using define() because it can almost always be evaluted at compile-time.

Greg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to