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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: goorol2 at interia dot pl
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC