summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php5.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2010-11-06 17:14:21 +0000
committerIlia Alshanetsky <iliaa@php.net>2010-11-06 17:14:21 +0000
commitf89effd2a83de2b1d6381f9b9403a8328e0998b6 (patch)
tree346940b3c9671b154de6f45a9afc1d0dc75f5c8c /sapi/apache/mod_php5.c
parentd31e4e7f8e78f0ed4497de9ef4a8f3461d2ed6b3 (diff)
downloadphp-git-f89effd2a83de2b1d6381f9b9403a8328e0998b6.tar.gz
Updated _SERVER['REQUEST_TIME'] to include microsecond precision.
Diffstat (limited to 'sapi/apache/mod_php5.c')
-rw-r--r--sapi/apache/mod_php5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c
index 1d858a5bc1..10b30ee5ec 100644
--- a/sapi/apache/mod_php5.c
+++ b/sapi/apache/mod_php5.c
@@ -438,9 +438,9 @@ static int sapi_apache_get_target_gid(gid_t *obj TSRMLS_DC)
/* {{{ php_apache_get_request_time
*/
-static time_t php_apache_get_request_time(TSRMLS_D)
+static double php_apache_get_request_time(TSRMLS_D)
{
- return ((request_rec *)SG(server_context))->request_time;
+ return (double) ((request_rec *)SG(server_context))->request_time;
}
/* }}} */