Bug #15052: Reserved Variable Name "id" ?
| From: | rdv at teldo dot de | Date: | Tue, 15 Jan 2002 16:56:22 +0000 |
| Subject: | Bug #15052: Reserved Variable Name "id" ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77142@lists.php.net to get a copy of this message | ||
From: rdv@teldo.de
Operating system: WIn2k
PHP version: 4.0CVS-2002-01-15
PHP Bug Type: Variables related
Bug description: Reserved Variable Name "id" ?
Hi, I hope this is really a bug and I'm not too stupid:
In a larger script I used to embed variables in links, like this:
search.php?a=1&b&c=2 witch worked perfectly.
But when I used "id" as Variablename it always got lost, so what should be
"search.php&id=1" became "search.php&id=ressource id #1".
I looked for hours for the problem, than I renamed "id" to "it", and now
the variables are transferred correctly and the program works..
So is id perhaps some kind of variable that is used by php internally ? I
searched in the docus and the bug reports, but didn't find anything on it.
--
Edit bug report at: http://bugs.php.net/?id=15052&edit=1