#22663 [Opn]: Variable $ID contains 3 initially

From: Date: Wed, 12 Mar 2003 20:26:12 +0000
Subject: #22663 [Opn]: Variable $ID contains 3 initially
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35451@lists.php.net to get a copy of this message
ID: 22663 User updated by: public at hverdag dot dk Reported By: public at hverdag dot dk Status: Open Bug Type: Variables related Operating System: Windows 2000 PHP Version: 4.3.1 New Comment: CORRECTION: I was NOT using $ID as a session variable though. But if I do it gives strange and totally off error messages about different places in my script where the script is perfectly correct. Previous Comments: ------------------------------------------------------------------------ [2003-03-12 13:09:01] public at hverdag dot dk Why on earth does the variable $ID contain the value 3 on a totally blank page where neither other script has been processed or session started???! This is not so big a problem in itself, but if I use $ID as a session variable it even overwrites this value - now, THIS is a problem! I cannot find any place where it says that one shouldn't use this variable name. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22663&edit=1

« previous php.bugs (#35451) next »