Re: svn: /phpdoc/en/trunk/reference/misc/functions/ sleep.xml

From: Date: Fri, 26 Nov 2010 11:45:47 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/misc/functions/ sleep.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7476@lists.php.net to get a copy of this message
So.. I had a quick chat with Pierre on IRC, and it turns out this is actually a bug on Windows :) I've updated the bug report.. maybe these commits should be reverted? (we don't document 'bugs'..) -Hannes On Fri, Nov 26, 2010 at 11:03, Adam Harvey <aharvey@php.net> wrote: > aharvey                                  Fri, 26 Nov 2010 10:03:03 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=305766 > > Log: > Clarify sleep() return values further per bjori's e-mail and prod on IRC. > > Changed paths: >    U   phpdoc/en/trunk/reference/misc/functions/sleep.xml > > Modified: phpdoc/en/trunk/reference/misc/functions/sleep.xml > =================================================================== > --- phpdoc/en/trunk/reference/misc/functions/sleep.xml  2010-11-26 09:52:28 UTC (rev 305765) > +++ phpdoc/en/trunk/reference/misc/functions/sleep.xml  2010-11-26 10:03:03 UTC (rev 305766) > @@ -37,12 +37,16 @@ >  <refsect1 role="returnvalues"> >   &reftitle.returnvalues; >   <para> > -   On Windows, <function>sleep</function> always returns &null;. > +   On all platforms, <function>sleep</function> returns &false; if the > +   <parameter>seconds</parameter> parameter is invalid. >   </para> >   <para> > +   On Windows, provided the aforementioned <parameter>seconds</parameter> > +   parameter is valid, <function>sleep</function> always returns &null;. > +  </para> > +  <para> >    On other platforms, <function>sleep</function> returns zero on success, or > -   &false; on errors. If the call was interrupted by a signal, > -   <function>sleep</function> returns the number of seconds left to sleep. > +   the number of seconds left to sleep if interrupted by a signal. >   </para> >  </refsect1> > > > > -- > PHP Documentation Commits Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.doc.cvs (#7476) next »