> > i don't either, but how else will you bind constants to a class / 
> > namespace ?
> 
> echo Foo::CONSTANT;

yes, but how do you define them ?

if it's like this:

namespace Foo;
define("CONSTANT", 123);

it won't be a problem either because then a class can't contain such a
definition (yet) and there won't be any ambiguities too.

harald.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to