Re: Re: Question about superglobals
| From: | Robert Cummings | Date: | Sat, 17 Nov 2007 06:30:52 +0000 |
| Subject: | Re: Re: Question about superglobals | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33212@lists.php.net to get a copy of this message | ||
On Sat, 2007-11-17 at 01:21 -0500, Sam Barrow wrote:
> True. What if we created a php.ini directive that defaulted to off that
> would determine the ability to declare superglobals,
> "allow_superglobals" or something.
Does your code live in a bubble? Allowance of of arbitrary super global
definitions would open a can of local variable clobbering worms.
A php.ini directive won't make this reality any more palatable.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................