From aac606cf7c71652ee9624eef6a216800e2e367df Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Fri, 4 Oct 2002 03:05:09 +0000 Subject: [PATCH] Adding text to explaing bug #17122 on session variable names git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@98100 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/session/reference.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reference/session/reference.xml b/reference/session/reference.xml index f4d8e9016e..4ec82a3b7d 100644 --- a/reference/session/reference.xml +++ b/reference/session/reference.xml @@ -1,5 +1,5 @@ - + Session handling functions Sessions @@ -120,6 +120,14 @@ substitute $HTTP_SESSION_VARS for $_SESSION, if you prefer the former. + + The keys in the $_SESSION associative + array are subject to the + same limitations as regular variable names in PHP, i.e. they cannot + start with a number and must start with a letter or underscore. + For more details see the section on + variables in this manual. +