Re: [PATCH] Fix for bug #31440 (GLOBALS can be by G/P/C when register_globals=On)
| From: | Jani Taskinen | Date: | Thu, 17 Feb 2005 01:28:56 +0000 |
| Subject: | Re: [PATCH] Fix for bug #31440 (GLOBALS can be by G/P/C when register_globals=On) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15033@lists.php.net to get a copy of this message | ||
On Wed, 16 Feb 2005, Stanislav Malyshev wrote:
AG>>>Seems like a bad excuse. Being able to destroy a superglobal array like AG>>>that is clearly a bug that should be fixed. IMO there should be no possibility to destroy GLOBALS with ?GLOBALS=foo,
Agreed 100%. Ilia's improved patch fixes this and the one below.
but there should be possibility to write GLOBALS with ?GLOBALS[foo]=bar -
True. But that shouldn't overwrite the whole thing and ending up
with GLOBALS containing only 'foo' => 'bar' entry? (that happens now..)
--Jani