From: Operating system: Ubuntu 10.10 64bit PHP version: trunk-SVN-2010-11-23 (SVN) Package: Scripting Engine problem Bug Type: Bug Bug description:$_SERVER['REQUEST_TIME'] is wonky.
Description:
------------
$_SERVER['REQUEST_TIME'] seems to fluctuate. 4 runs of
$_SERVER['REQUEST_TIME']: 4.4291801813059E+17
time(): 1290528694
$_SERVER['REQUEST_TIME']: 4.4291801813268E+17
time(): 1290528708
$_SERVER['REQUEST_TIME']: -3.689152654376E+18
time(): 1290528722
$_SERVER['REQUEST_TIME']: 2.2138054492136E+18
time(): 1290528739
Test script:
---------------
<?php
header('Content-Type: text/plain');
echo "\$_SERVER['REQUEST_TIME']: ", $_SERVER['REQUEST_TIME'], "\ntime():
", time(), "\n";
Expected result:
----------------
$_SERVER['REQUEST_TIME'] to be approximately inline with time()
Actual result:
--------------
Wonky.
--
Edit bug report at http://bugs.php.net/bug.php?id=53389&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53389&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53389&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=53389&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53389&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=53389&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53389&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=53389&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=53389&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=53389&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=53389&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=53389&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=53389&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=53389&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53389&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53389&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53389&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=53389&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=53389&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=53389&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=53389&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=53389&r=mysqlcfg
