Bug #53389 [NEW]: $_SERVER['REQUEST_TIME'] is wonky.

From: Date: Tue, 23 Nov 2010 16:14:50 +0000
Subject: Bug #53389 [NEW]: $_SERVER['REQUEST_TIME'] is wonky.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156324@lists.php.net to get a copy of this message
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

« previous php.bugs (#156324) next »