ID: 42335 Updated by: [EMAIL PROTECTED] Reported By: lgynove at 163 dot com -Status: Open +Status: Bogus -Bug Type: Unknown/Other Function +Bug Type: Session related Operating System: windows xp PHP Version: 5.2.3 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2007-08-18 11:14:51] lgynove at 163 dot com Description: ------------ <?php //php 5.2.1 //[php.ini] //register_long_arrays = Off session_start(); $_SESSION['test']['a'] = 'ok'; $_SESSION['test']['b'] = 'ok'; $_SESSION['test']['c'] = 'ok'; $_SESSION['test']['d'] = 'ok'; $_SESSION['test']['e'] = 'ok'; function test() { print_r($GLOBALS['test']); } register_shutdown_function('test'); ?> <img src="" /> <?php /* output: <img src="" /> Array ( [a] => ok [b] => ok [c] => ok [d] => ok [e] => ok ) */ ?> Reproduce code: --------------- <?php //php 5.2.1 session_start(); $_SESSION['test']['a'] = 'ok'; $_SESSION['test']['b'] = 'ok'; $_SESSION['test']['c'] = 'ok'; $_SESSION['test']['d'] = 'ok'; $_SESSION['test']['e'] = 'ok'; function test() { print_r($GLOBALS['test']); } register_shutdown_function('test'); ?> <img src="" /> Expected result: ---------------- <img src="" /> Array ( ) Actual result: -------------- <img src="" /> Array ( [a] => ok [b] => ok [c] => ok [d] => ok [e] => ok ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42335&edit=1
