ID: 28324 Updated by: [EMAIL PROTECTED] Reported By: viper_sb at yahoo dot com -Status: Verified +Status: Closed Bug Type: Session related Operating System: FreeBSD 4.7 PHP Version: 5.0.0RC2 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-05-08 07:16:47] [EMAIL PROTECTED] $ php <?php session_start(); var_dump(isset($HTTP_SESSION_VARS), ini_get('register_long_arrays')); bool(true) string(0) "" ------------------------------------------------------------------------ [2004-05-08 06:29:53] viper_sb at yahoo dot com 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 this bug report at http://bugs.php.net/?id=28324&edit=1
