#29176 [Opn->Asn]: $_GLOBALS['_REQUEST'], $GLOBALS['_ENV'] AND $GLOBALS['_SERVER'] are empty

From: Date: Thu, 15 Jul 2004 09:47:15 +0000
Subject: #29176 [Opn->Asn]: $_GLOBALS['_REQUEST'], $GLOBALS['_ENV'] AND $GLOBALS['_SERVER'] are empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62360@lists.php.net to get a copy of this message
ID: 29176 Updated by: derick@php.net Reported By: webmaster at ragnarokonline dot de -Status: Open +Status: Assigned Bug Type: Variables related Operating System: SuSE 9.0 PHP Version: 5.0.0 -Assigned To: +Assigned To: sesser New Comment: I believe you might have caused this Stefan ;-) Previous Comments: ------------------------------------------------------------------------ [2004-07-15 04:28:37] webmaster at ragnarokonline dot de Category => Variables related Sorry for bugspam ------------------------------------------------------------------------ [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

« previous php.bugs (#62360) next »