On Mon, Oct 01, 2001 at 06:19:01PM +0200, Harald Radi wrote: > > > 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); On perhaps optionally:
define("CONSTANT", 123, 'Foo'); ... which will define the constant in the namespace 'Foo'. It might also make sense to allow: define("Foo::CONSTANT", 123); -- Jon Parise ([EMAIL PROTECTED]) . Information Technology (2001) http://www.csh.rit.edu/~jon/ : Computer Science House Member -- 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]