#47853 [Opn->Csd]: Typo in documentation for time_nanosleep function

From: Date: Fri, 03 Apr 2009 03:03:41 +0000
Subject: #47853 [Opn->Csd]: Typo in documentation for time_nanosleep function
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2078@lists.php.net to get a copy of this message
 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)

« previous php.doc.bugs (#2078) next »