php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64073 $_SERVER['REQUEST_TIME_FLOAT'] greater than microtime(true)
Submitted: 2013-01-25 15:23 UTC Modified: 2013-01-26 01:46 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: goorol2 at interia dot pl Assigned:
Status: Duplicate Package: Apache2 related
PHP Version: 5.5.0alpha4 OS: win32
Private report: No CVE-ID: None
 [2013-01-25 15:23 UTC] goorol2 at interia dot pl
Description:
------------
$_SERVER['REQUEST_TIME_FLOAT'] greater than microtime(true)


Test script:
---------------
<?=microtime(true)-$_SERVER['REQUEST_TIME_FLOAT']?>


Expected result:
----------------
microtime(true) greater equal than $_SERVER['REQUEST_TIME_FLOAT']

...like PHP 5.4

Actual result:
--------------
$_SERVER['REQUEST_TIME_FLOAT'] greater than microtime(true)

introduced in PHP 5.5
PHP 5.4 not buggy


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-26 01:46 UTC] johannes@php.net
-Status: Open +Status: Duplicate
 [2013-01-26 01:46 UTC] johannes@php.net
See bug #63957
 [2013-01-27 18:21 UTC] adam123 at hotmail dot com
The difference increases in time to run the server (few days).
I am now watching -5.5 seconds.
After Apache restar difference -20ms.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 20:01:26 2019 UTC