diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-11-06 17:14:21 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-11-06 17:14:21 +0000 |
commit | f89effd2a83de2b1d6381f9b9403a8328e0998b6 (patch) | |
tree | 346940b3c9671b154de6f45a9afc1d0dc75f5c8c /sapi/apache/mod_php5.c | |
parent | d31e4e7f8e78f0ed4497de9ef4a8f3461d2ed6b3 (diff) | |
download | php-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.c | 4 |
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; } /* }}} */ |