Re: PHP 4.0 Bug #5336: 3d arrays don't register correctly

From: Date: Sun, 02 Jul 2000 03:16:33 +0000
Subject: Re: PHP 4.0 Bug #5336: 3d arrays don't register correctly
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-23185@lists.php.net to get a copy of this message
On 3 Jul 2000 matt@do2.net wrote: > From: matt@do2.net > Operating system: RedHat 6.0 > PHP version: 4.0.0 > PHP Bug Type: Session related > Bug description: 3d arrays don't register correctly > > It seems that if you start a session and register a 3d array with it, that array can be > modified once, from having nothing in it to having whatever you put in it the first time. After > that, any attempts to modify it don't stick. The first modification's results don't > update. > > Example. > > *snip* > > session_start(); > > $array[0][0][0] = 0; > session_register($array); Please see the documentation on session_register. You register the variable name, not the variable itself. - Sascha

« previous php.dev (#23185) next »