|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-17 14:38 UTC] tony2001@php.net
[2007-04-25 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 23:00:01 2025 UTC |
Description: ------------ VERSION is 5.2.0-8etch1 distributed with debian 4.0! After switching in php.ini to register_long_arrays = off not still the HTTP_*_VARS vanished, but also the $_SERVER disappeared Reproduce code: --------------- switch off in ini register_long_arrays Use either <?php ### get_globals.php ### echo "<pre>\n"; print_r($GLOBALS); echo "<pre>\n"; ?> or <?php ### get_globals.php ### echo "<pre>\n"; print_r($GLOBALS); print_r($_SERVER); echo "<pre>\n"; ?> The different behavior seams mystical. Expected result: ---------------- please try yourself Actual result: -------------- please try yourself