#28324 [NEW]: HTTP_SESSION_VARS appear when register_long_arrays is Off

From: Date: Sat, 08 May 2004 04:29:54 +0000
Subject: #28324 [NEW]: HTTP_SESSION_VARS appear when register_long_arrays is Off
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59385@lists.php.net to get a copy of this message
From: viper_sb at yahoo dot com Operating system: FreeBSD 4.7 PHP version: 5.0.0RC2 PHP Bug Type: Session related Bug description: HTTP_SESSION_VARS appear when register_long_arrays is Off Description: ------------ HTTP_SESSION_VARS still shows up even though register_long_arrays is off. After inializing a session and setting a session variable HTTP_SESSION_VARS becomes avaiable, ($_SESSION is there also) Reproduce code: --------------- <?php session_start(); $_SESSION['test'] = 'value'; var_dump($HTTP_SESSION_VARS); ?> Expected result: ---------------- Notice: Undefined variable: HTTP_SESSION_VARS in /usr/local/www/data.web/web/test.php line 3 NULL Actual result: -------------- array(1) { ["test"]=> string(5) "value" } -- Edit bug report at http://bugs.php.net/?id=28324&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28324&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28324&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28324&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28324&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28324&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28324&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28324&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28324&r=support Expected behavior: http://bugs.php.net/fix.php?id=28324&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28324&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28324&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28324&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28324&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28324&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28324&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28324&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28324&r=float

« previous php.bugs (#59385) next »