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
 [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

Pull Requests

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: Sat Dec 21 12:01:31 2024 UTC