From: Operating system: Windows PHP version: 5.3.6 Package: Session related Bug Type: Bug Bug description:Bug with session
Description: ------------ So i had this problem when you have a regular variable and a session variable with same names. Something like - $_SESSION['ses'] and $ses. So when you change the $ses to some value, the session value with the same name will change too. My Version is PHP 5.2.6. I havent changed anything in any php files. I use AppServ v2.5.10. Test script: --------------- $_SESSION['s'] = "hey"; $s = "hello"; echo $_SESSION['s']." $s"; Expected result: ---------------- hey hello Actual result: -------------- hello hello -- Edit bug report at https://bugs.php.net/bug.php?id=55342&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55342&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55342&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55342&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55342&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55342&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55342&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55342&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55342&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55342&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55342&r=support Expected behavior: https://bugs.php.net/fix.php?id=55342&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55342&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55342&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55342&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55342&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55342&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55342&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55342&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55342&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55342&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55342&r=mysqlcfg