note 86961 rejected from function.sleep by thiago
| From: | thiago@php.net | Date: | Wed, 12 Nov 2008 14:30:12 +0000 |
| Subject: | note 86961 rejected from function.sleep by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146441@lists.php.net to get a copy of this message | ||
Note Submitter: jeroen at securew2 dot com
----
The return values specified on the top of the page are not correct.
At least, not in php 5.2.0
Sleep returns the amount of seconds left when the function exits.
Signals for instance, can break a sleep. In that case sleep will return the amount of seconds he
didn't get to 'sleep'.