Re: [PHP-DEV] custom superglobals

2005-08-06 Thread Rasmus Lerdorf
Ron Korving wrote: > Hi, > > Wouldn't it be a good feature to have users create their own superglobals? I > think it would be good for at least two reasons (rather similar though): > > - Application settings can be stored in such a global, so that objects can > use them without needing the inform

Re: [PHP-DEV] custom superglobals

2005-08-06 Thread Sean Coates
Ron Korving wrote: Wouldn't it be a good feature to have users create their own superglobals? I realize that you're probably talking about creating custom superglobals in the PHP core, but you might want to look at Sara's Runkit project (in PECL). It allows custom superglobals. http://pecl.

[PHP-DEV] custom superglobals

2005-08-06 Thread Ron Korving
Hi, Wouldn't it be a good feature to have users create their own superglobals? I think it would be good for at least two reasons (rather similar though): - Application settings can be stored in such a global, so that objects can use them without needing the information passed to functions or usin