Doc #76486 [Opn]: hrtime() return value descriptions unclear
| From: | ab@php.net | Date: | Sat, 16 Jun 2018 18:11:30 +0000 |
| Subject: | Doc #76486 [Opn]: hrtime() return value descriptions unclear | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15777@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76486&edit=1
ID: 76486
Updated by: ab@php.net
Reported by: fsb at thefsb dot org
Summary: hrtime() return value descriptions unclear
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Thanks for the question. hrtime() always returns a value with the nanosecond precision.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2018-06-16 15:54:47] fsb at thefsb dot org
Description:
------------
---
From manual page: http://www.php.net/function.hrtime
---
The meaning of hrtime(true)'s return values are not given.
On 32 bit hrtime(true) returns a float. What does it represent? Seconds? Milliseconds? ...
On 64 bit hrtime(true) returns an int. What does it represent? Seconds? Milliseconds? ...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76486&edit=1