Doc #65224 [NEW]: Japanese version of get_as_float explanation in microtime manual is wrong
| From: | ysnysnysn at gmail dot com | Date: | Tue, 09 Jul 2013 11:44:43 +0000 |
| Subject: | Doc #65224 [NEW]: Japanese version of get_as_float explanation in microtime manual is wrong | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10059@lists.php.net to get a copy of this message | ||
From: ysnysnysn at gmail dot com
Operating system:
PHP version: 5.5.0
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Japanese version of get_as_float explanation in microtime manual is wrong
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 bug report at https://bugs.php.net/bug.php?id=65224&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65224&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65224&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65224&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65224&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65224&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65224&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65224&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65224&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65224&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65224&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65224&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65224&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65224&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65224&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65224&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65224&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65224&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65224&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65224&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65224&r=mysqlcfg