#47853 [Opn->Csd]: Typo in documentation for time_nanosleep function
ID: 47853
Updated by: kalle@php.net
Reported By: jllm at mhvillage dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Mac OS X 10.5.6
PHP Version: Irrelevant
-Assigned To:
+Assigned To: kalle
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2009-03-31 16:05:36] jllm at mhvillage dot com
Description:
------------
Documentation for time_nanosleep states:
$nano = time_nanosleep(2, 100000);
if ($nano === true) {
echo "Slept for 2 seconds, 100 milliseconds.\n";
The echo statement should read:
echo "Slept for 2 seconds, 100 microseconds.\n";
or
echo "Slept for 2 seconds, 0.1 milliseconds.\n";
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47853&edit=1
Thread (2 messages)