#22068 [NEW]: Access $_SESSION
| From: | AchimWinkelmann at web dot de | Date: | Wed, 05 Feb 2003 11:23:57 +0000 |
| Subject: | #22068 [NEW]: Access $_SESSION | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-32178@lists.php.net to get a copy of this message | ||
From: AchimWinkelmann@web.de
Operating system: Windows XP
PHP version: 4.3.0
PHP Bug Type: Session related
Bug description: Access $_SESSION
The manual says at topic XCIII. SESSION HANDLING FUNCTIONS under headline
EXAMPLES within the NOTE, 'you do not need to use the global keyword for
$_SESSION'.
In fact you 'may not use the global keyword' when accessing $_SESSION from
within a function, otherwise a different global variable seems to be
created/accessed (PHP 4.3.0, WinXP)!
Maybe it is no bug, but I miss any sematically sense.
--
Edit bug report at http://bugs.php.net/?id=22068&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22068&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22068&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22068&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22068&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22068&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22068&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22068&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22068&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22068&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22068&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22068&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22068&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22068&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22068&r=gnused