Re: Re: Using register_globals
| From: | Philip Olson | Date: | Sun, 08 Jun 2003 06:05:04 +0000 |
| Subject: | Re: Re: Using register_globals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150640@lists.php.net to get a copy of this message | ||
[snip]
> <rant>
>
> register_globals=off won't make good code any better --it's just
> a safety net for the sloppy coders.
[snip]
In some sense, register_globals = off makes both bad and
good code better, because it means less pollution. So
many unused variables get defined with register_globals
on and this means wasted memory/resources. Pollution
makes any environment worse! Granted this isn't what you
meant, but still... ;)
Regards,
Philip