From db3c4a19527705e02acae8631a1fc10f9bf02304 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Fri, 26 Nov 2010 09:19:16 +0000 Subject: [PATCH] Fix doc bug #53409 (sleep() return NULL). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305764 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/misc/functions/sleep.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reference/misc/functions/sleep.xml b/reference/misc/functions/sleep.xml index fed67609e0..cc9f945b2e 100644 --- a/reference/misc/functions/sleep.xml +++ b/reference/misc/functions/sleep.xml @@ -37,9 +37,12 @@ &reftitle.returnvalues; - Returns zero on success, or &false; on errors. If the call was interrupted - by a signal, sleep returns the number of seconds left - to sleep. + On Windows, sleep always returns &null;. + + + On other platforms, sleep returns zero on success, or + &false; on errors. If the call was interrupted by a signal, + sleep returns the number of seconds left to sleep.