php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54477 Number of seconds may be _non-negative_ (>=0), it must not be _positive_ (>0)
Submitted: 2011-04-06 13:52 UTC Modified: 2011-04-08 10:20 UTC
From: o_shes01 at uni-muenster dot de Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant 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: o_shes01 at uni-muenster dot de
New email:
PHP Version: OS:

 

 [2011-04-06 13:52 UTC] o_shes01 at uni-muenster dot de
Description:
------------
---
From manual page: http://www.php.net/function.time-nanosleep#Parameters
---

The documentation states: 

"
seconds
    Must be a positive integer.
"

It must be: 

"
    Must be a non-negative integer.
"




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-08 10:20 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=310041
Log: Fix doc bug #54477 (Number of seconds may be _non-negative_ (>=0), it must not
be _positive_ (>0)).
 [2011-04-08 10:20 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 [2011-04-08 10:20 UTC] aharvey@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 00:00:01 2026 UTC