php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65224 Japanese version of get_as_float explanation in microtime manual is wrong
Submitted: 2013-07-09 11:44 UTC Modified: 2013-07-21 16:40 UTC
From: ysnysnysn at gmail dot com Assigned: mumumu (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.5.0 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ysnysnysn at gmail dot com
New email:
PHP Version: OS:

 

 [2013-07-09 11:44 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-21 15:58 UTC] mumumu@php.net
-Assigned To: +Assigned To: mumumu
 [2013-07-21 16:40 UTC] mumumu@php.net
-Status: Assigned +Status: Closed
 [2013-07-21 16:40 UTC] mumumu@php.net
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
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 00:00:02 2026 UTC