note 99338 deleted from reserved.variables.session by danbrown

From: Date: Wed, 11 Aug 2010 20:01:32 +0000
Subject: note 99338 deleted from reserved.variables.session by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-171581@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- <?PHP session_start(); if( !isset($_SESSION['0']) ) { $_SESSION['0'] = 12354; echo 'SET<br />'; } echo '<pre>'; print_r( $_SESSION ); echo '</pre>'; ?> ALWAYS results in: SET Array ( [0] => 12354 ) Notice: Unknown: Skipping numeric key 0 in Unknown on line 0 -------------------- So note that you cannot use full numeric keys in Session!

« previous php.notes (#171581) next »