note 103293 added to reserved.variables.session
| From: | bmearns at ieee dot org | Date: | Wed, 06 Apr 2011 01:55:55 +0000 |
| Subject: | note 103293 added to reserved.variables.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178539@lists.php.net to get a copy of this message | ||
The keys used in $_SESSION can't be numbers. I'm guessing they can only be strings. You
can put other keys in, but they won't actually get stored. If you put an array into $_SESSION,
you can use non-string keys in that.
----
Server IP: 192.41.42.26
Probable Submitter: 67.186.134.114
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.session.php
Edit -- https://master.php.net/note/edit/103293
Del: integrated -- https://master.php.net/note/delete/103293/integrated
Del: useless -- https://master.php.net/note/delete/103293/useless
Del: bad code -- https://master.php.net/note/delete/103293/bad+code
Del: spam -- https://master.php.net/note/delete/103293/spam
Del: non-english -- https://master.php.net/note/delete/103293/non-english
Del: in docs -- https://master.php.net/note/delete/103293/in+docs
Del: other reasons-- https://master.php.net/note/delete/103293
Reject -- https://master.php.net/note/reject/103293
Search -- https://master.php.net/manage/user-notes.php