ID: 29176 Updated by: [EMAIL PROTECTED] Reported By: webmaster at ragnarokonline dot de -Status: Open +Status: Wont fix Bug Type: Variables related Operating System: All PHP Version: 5.0.0 Assigned To: sesser New Comment:
$GLOBALS["_SERVER"] would be silly to use anyway. I am going to mark this as Wont Fix as this is not guaranteed to work. Previous Comments: ------------------------------------------------------------------------ [2004-11-11 10:58:20] webmaster at ragnarokonline dot de Yes, I could reproduce this without using mmcache. This is dependent of auto_globals_jit. The problem is, that for example var_dump($_SERVER); does trigger the jit, but that var_dump($GLOBALS['_SERVER']); doesn't. ------------------------------------------------------------------------ [2004-11-11 09:56:02] [EMAIL PROTECTED] Can you reproduce it without mmcache enabled ? ------------------------------------------------------------------------ [2004-11-11 09:17:12] marrtins at hackers dot lv i think this is a mmcache issue. today i get similar problems - once file is loaded with mmcache it is ok, next time there is no more $_SERVER variable executing that script again. notice, that it happens with apache (v 1.3.33), from command line same script works well (php5.0.2). also, with php4.3.7+apache1.3.27 it works as excpected too. ------------------------------------------------------------------------ [2004-08-24 03:12:00] webmaster at ragnarokonline dot de Changing OS from SuSE 9.0 to All, since this is not limited to SuSE. ------------------------------------------------------------------------ [2004-08-20 20:09:54] webmaster at ragnarokonline dot de mmh ... or even $GLOBALS in general, so var_dump($GLOBALS) would include $_SERVER, $_ENV and $_REQUEST and scripts, like <?php var_dump(in_array('_SERVER', array_keys($GLOBALS))); ?> work as expected, which means the above script would return bool(true) for example? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29176 -- Edit this bug report at http://bugs.php.net/?id=29176&edit=1