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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
11 - 5 = ?
Subscribe to this entry?

 
 [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: Sun May 05 07:01:32 2024 UTC