|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-26 10:05 UTC] tony2001@php.net
[2005-11-26 21:18 UTC] etnu at etnu dot org
[2005-12-07 01:00 UTC] php-bugs at lists dot php dot net
[2006-08-31 13:50 UTC] sperson at lfdj dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 12:00:01 2025 UTC |
Description: ------------ I found that my script have the problem that _SERVER is not superglobal, and _SERVER sometimes cause 'PHP Notice: Undefined variable: _SERVER' Reproduce code: --------------- <?php function test() { echo $_SERVER['REQUEST_TIME']; echo '<br/>'; echo $_SERVER['REQUEST_URI']; } ?> Expected result: ---------------- 1132987751<br/> /test.php Actual result: -------------- <br/>