php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47327 _SERVER["REQUEST_TIME"]
Submitted: 2009-02-06 10:16 UTC Modified: 2009-02-06 22:55 UTC
From: vader2 at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2CVS-2009-02-06 (snap) OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vader2 at gmail dot com
New email:
PHP Version: OS:

 

 [2009-02-06 10:16 UTC] vader2 at gmail dot com
Description:
------------
_SERVER["REQUEST_TIME"] returns time in seconds

It will be very useful (e.g. for calculate page generating time in ms) to return micro-seconds fraction

or add new:

_SERVER["REQUEST_UTIME"] contain value from function microtime(true) of request moment.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-06 22:55 UTC] johannes@php.net
This feature provides the information Apache collects for it's own purpose. For providing UTIME PHP would have to ask the operating system, which doesn't make sense as the idea behind this feature was to save the time needed in some cases.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 19:01:29 2024 UTC