From:             webmaster at ragnarokonline dot de
Operating system: SuSE 9.0
PHP version:      5.0.0
PHP Bug Type:     Strings related
Bug description:  $_GLOBALS['_REQUEST'], $GLOBALS['_ENV'] AND $GLOBALS['_SERVER'] are 
empty

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 bug report at http://bugs.php.net/?id=29176&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29176&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29176&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29176&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29176&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29176&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29176&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29176&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29176&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29176&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29176&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29176&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29176&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29176&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29176&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29176&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29176&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29176&r=float

Reply via email to