Re: [PHP] Creating custom superglobals

2006-08-14 Thread Dave Goodchild
On 15/08/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Mon, August 14, 2006 8:40 am, Ville Mattila wrote: > Does the PHP environment (5.1.4) provide a way to define some custom > variables as a superglobal? It would be useful for saving certain site > preferences and settings that must be refe

Re: [PHP] Creating custom superglobals

2006-08-14 Thread Richard Lynch
On Mon, August 14, 2006 8:40 am, Ville Mattila wrote: > Does the PHP environment (5.1.4) provide a way to define some custom > variables as a superglobal? It would be useful for saving certain site > preferences and settings that must be referred in many variables and > classes, without every time

Re: [PHP] Creating custom superglobals

2006-08-14 Thread Adam Zey
Robert Cummings wrote: Which will make your application incompatible with any distribution where runkit is not enabled :/ Which kinda sucks, I wish more stuff was part of the core. Cheers, Rob. I agree, this module looks very powerful. The ability to write wrappers around internal functions

RE: [PHP] Creating custom superglobals

2006-08-14 Thread Robert Cummings
nda sucks, I wish more stuff was part of the core. Cheers, Rob. > > HTH, > K. Bear > > > -Original Message- > > From: Stut [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 14, 2006 10:04 AM > > To: Ville Mattila > > Cc: php-general@lists.php.n

RE: [PHP] Creating custom superglobals

2006-08-14 Thread KermodeBear
l@lists.php.net > Subject: Re: [PHP] Creating custom superglobals > > Ville Mattila wrote: > > Does the PHP environment (5.1.4) provide a way to define > some custom > > variables as a superglobal? It would be useful for saving > certain site > > preferences and set

Re: [PHP] Creating custom superglobals

2006-08-14 Thread Stut
Ville Mattila wrote: Does the PHP environment (5.1.4) provide a way to define some custom variables as a superglobal? It would be useful for saving certain site preferences and settings that must be referred in many variables and classes, without every time writing global keyword at the beginni

RE: [PHP] Creating custom superglobals

2006-08-14 Thread Jay Blanchard
[snip] Does the PHP environment (5.1.4) provide a way to define some custom variables as a superglobal? It would be useful for saving certain site preferences and settings that must be referred in many variables and classes, without every time writing global keyword at the beginning of a functi

[PHP] Creating custom superglobals

2006-08-14 Thread Ville Mattila
Hello, Does the PHP environment (5.1.4) provide a way to define some custom variables as a superglobal? It would be useful for saving certain site preferences and settings that must be referred in many variables and classes, without every time writing global keyword at the beginning of a func