[PHP] Variable Variables adn Superglobals

2004-08-04 Thread ARico
Using Variable Variables works fine inside functions for global defined variables if you declare them as global inside the function. Suprinsingly, it does not seem to work with superglobals. Take the following example: // code

Re: [PHP] Variable Variables adn Superglobals

2004-08-04 Thread Justin Patrin
On Wed, 04 Aug 2004 23:15:03 +0200, ARico [EMAIL PROTECTED] wrote: Using Variable Variables works fine inside functions for global defined variables if you declare them as global inside the function. Suprinsingly, it does not seem to work with superglobals. Take the following example:

Re: [PHP] Variable Variables adn Superglobals

2004-08-04 Thread ARico
Justin Patrin wrote: On Wed, 04 Aug 2004 23:15:03 +0200, ARico [EMAIL PROTECTED] wrote: Using Variable Variables works fine inside functions for global defined variables if you declare them as global inside the function. Suprinsingly, it does not seem to work with superglobals. Take the

Re: [PHP] Variable Variables adn Superglobals

2004-08-04 Thread Curt Zirzow
* Thus wrote ARico: Using Variable Variables works fine inside functions for global defined variables if you declare them as global inside the function. Suprinsingly, it does not seem to work with superglobals. Take the following example: // code