From: dave at faf dot co dot nz Operating system: Linux PHP version: 4.3.6 PHP Bug Type: Session related Bug description: MAJOR FLAW
Description: ------------ If session variable keys are used in the page as regular variables, ie; $_SESSION['IsGod'] and $IsGod, the session variable is replaced with the value of the local variable. I couldn't believe it myself, but its been causing errors ALL OVER THE PLACE !!!. anyway, feel free to check it, the checkbox the value was reading from was named chkIsGod so thats not it, and on changing local to "$God" the problem died. Horrible bug. -- Edit bug report at http://bugs.php.net/?id=28586&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28586&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28586&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28586&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28586&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28586&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28586&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28586&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28586&r=support Expected behavior: http://bugs.php.net/fix.php?id=28586&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28586&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28586&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28586&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28586&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28586&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28586&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28586&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28586&r=float
