#19221 [NEW]: Session work not correctly

From: Date: Wed, 04 Sep 2002 04:08:20 +0000
Subject: #19221 [NEW]: Session work not correctly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18373@lists.php.net to get a copy of this message
From: kv_m@rambler.ru Operating system: FreeBSD 4.6 PHP version: 4CVS-2002-09-03 PHP Bug Type: Session related Bug description: Session work not correctly <? ini_set("register_globals", 1); class foo { var $bar = "ok"; function method() { $this->yes = "done"; } } $baz = new foo; $baz->method(); $arr[3] = new foo; $arr[3]->method(); session_register("baz"); session_register("arr"); print session_encode()."\n"; session_destroy(); ?> Result: baz|N;arr|N; -- Edit bug report at http://bugs.php.net/?id=19221&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19221&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19221&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19221&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19221&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19221&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19221&r=support Expected behavior: http://bugs.php.net/fix.php?id=19221&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19221&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19221&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19221&r=globals

« previous php.bugs (#18373) next »