Bug #15052 Updated: Reserved Variable Name "id" ?

From: Date: Tue, 15 Jan 2002 17:00:46 +0000
Subject: Bug #15052 Updated: Reserved Variable Name "id" ?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77146@lists.php.net to get a copy of this message
ID: 15052 User updated by: rdv@teldo.de Old Summary: Reserved Variable Name "id" ? Reported By: rdv@teldo.de Status: Open Bug Type: Variables related Operating System: WIn2k PHP Version: 4.0CVS-2002-01-15 Previous Comments: ------------------------------------------------------------------------ [2002-01-15 11:56:22] rdv@teldo.de 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 this bug report at http://bugs.php.net/?id=15052&edit=1

« previous php.dev (#77146) next »