★ wanayoo — archive 1999 http://www.php.net/manual/function.sleep.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Misc.
Quick Reference
Misc.
* connection_aborted
* connection_status
* connection_timeout
* define
* defined
* die
* eval
* exit
* func_get_arg
* func_get_args
* func_num_args
* function_exists
* get_browser
* ignore_user_abort
* iptcparse
* leak
* pack
* register_shutdown_function
* serialize
* sleep
* uniqid
* unpack
* unserialize
* usleep
Manual: sleep
View the source code for this pageSearch the site



Previous page
 serialize
uniqid 
Next page


sleep

sleep -- Delay execution.

Description

void sleep(int seconds);

The sleep function delays program execution for the given number of seconds.

See also usleep().


User Contributed Notes: sleep


joss@ja.ee
20-Mar-2000 08:56
This function doesn't work propably.
for ($i = 1; $i <= 10000; $i++) {
	sleep(3);

print "Kala";
}



rossi@telnet.at
28-Mar-2000 11:43
yes it does, but you won't see any output before it finishes as long as you don't use flush();


 About Notes


Previous page
 serialize
uniqid 
Next page



Site Statistics


Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.