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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php-bugs at T43 dot mine dot nu
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Thu Dec 26 18:01:31 2024 UTC