ID: 29176 User updated by: webmaster at ragnarokonline dot de Reported By: webmaster at ragnarokonline dot de Status: Open -Bug Type: Strings related +Bug Type: Variables related Operating System: SuSE 9.0 PHP Version: 5.0.0 New Comment:
Category => Variables related Sorry for bugspam Previous Comments: ------------------------------------------------------------------------ [2004-07-15 04:27:24] webmaster at ragnarokonline dot de Description: ------------ $_GLOBALS somehow doesn't contain the arrays $_REQUEST, $_ENV and $_SERVER. This worked fine in PHP4. Reproduce code: --------------- <?php var_dump($GLOBALS['_SERVER']); var_dump($GLOBALS['_ENV']); var_dump($GLOBALS['_REQUEST']); ?> Expected result: ---------------- The contents of the arrays $_SERVER, $_ENV and $_REQUEST are being printed. Actual result: -------------- NULL NULL NULL is being printed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29176&edit=1