php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #37837 Numeric keys for session variables are lost
Submitted: 2006-06-18 14:29 UTC Modified: 2007-08-17 20:38 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: php-bugs at T43 dot mine dot nu Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 - 13 = ?
Subscribe to this entry?

 
 [2006-06-18 14:29 UTC] php-bugs at T43 dot mine dot nu
Description:
------------
The documentation in the manual is correct but very hard to find due to its location in the "preface" to the "examples" on the Session pages. Also a few words in the sections on Predefined Variables would be helpful, because it is a bit different than, say, $_COOKIE. The absence of the information, where $_SESSION is explained, would signify its insignificance or nonexistence.

related pages http://www.php.net/manual/en/language.variables.predefined.php

http://www.php.net/manual/en/reserved.variables.php#reserved.variables.session

bug 27078

http://www.php.net/manual/en/ref.session.php


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-18 14:36 UTC] php-bugs at T43 dot mine dot nu
The hard-to-find documentation sentence I'm about is:

"The keys in the $_SESSION associative array are subject to the same limitations as regular variable names in PHP,"
 [2007-08-17 20:38 UTC] vrana@php.net
The information is available.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 04:01:30 2024 UTC