Edit report at https://bugs.php.net/bug.php?id=55342&edit=1
ID: 55342 Updated by: larue...@php.net Reported by: filled2 at gmail dot com Summary: Bug with session -Status: Open +Status: Feedback Type: Bug Package: Session related Operating System: Windows PHP Version: 5.3.6 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-08-02 12:03:58] larue...@php.net do you have session.bug_compat_42 on? if yes, turn it off and try again. ------------------------------------------------------------------------ [2011-08-02 01:14:02] filled2 at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=55342&edit=1