Doc #65224 [Asn->Csd]: Japanese version of get_as_float explanation in microtime manual is wrong
| From: | mumumu@php.net | Date: | Sun, 21 Jul 2013 16:40:59 +0000 |
| Subject: | Doc #65224 [Asn->Csd]: Japanese version of get_as_float explanation in microtime manual is wrong | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10100@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65224&edit=1
ID: 65224
Updated by: mumumu@php.net
Reported by: ysnysnysn at gmail dot com
Summary: Japanese version of get_as_float explanation in
microtime manual is wrong
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.5.0
Assigned To: mumumu
Block user comment: N
Private report: N
New Comment:
http://svn.php.net/viewvc?view=revision&revision=330999
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
----
P.S.
If you find a bug in Japanese version PHP Manual, of course you can report it
not only here, but also on php-doc mailing list where you can report in
Japanese. You can subscribe it from the following url.
http://ml.php.gr.jp/mailman/listinfo/php-doc
Previous Comments:
------------------------------------------------------------------------
[2013-07-09 11:44:43] ysnysnysn at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.microtime#refsect1-
function.microtime-returnvalues
---
Current documentation for microtime() in Japanese is:
get_as_float ã TRUE ã«è¨å®ããã¨ã microtime()
ã¯çµæã float ã§è¿ãã¾ãã ããã¯ã
Unix ã¨ããã¯ããã®çµéç§æ°
ããã¤ã¯ãç§åä½ã§è¡¨ãããã®ã§ãã
It's misleading. It means in English,
If get_as_float is set to TRUE, then microtime() returns the result in float,
which represents the
number of seconds since Unix epoch in microsecond unit.
It should clearly state that it's accurate to microseconds but in seconds unit.
Proposed text:
get_as_float ã TRUE ã«è¨å®ããã¨ã microtime() 㯠Unix
ã¨ããã¯ããã®çµéç§æ°ããã¤ã¯
ãç§åä½ã§æ£ç¢ºã«ãªãããã«
float ã§è¡¨ãããã®ãè¿ãã¾ãã
In English,
If get_as_float is set to TRUE, then microtime() returns the current time in
seconds since Unix epoch
in a float so that it's accurate to microseconds.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65224&edit=1