PHP » GoLang |
login |
register |
about
|
sleep(PHP 4, PHP 5, PHP 7) sleep — Delay execution Description
int sleep
( int
$seconds
)
Delays the program execution for the given number of
Parameters
Return Values
Returns zero on success, or
If the call was interrupted by a signal, sleep() returns
a non-zero value. On Windows, this value will always be
192 (the value of the
Errors/Exceptions
If the specified number of Changelog
Examples
Example #1 sleep() example
<?php This example will output (after 10 seconds) 05:31:23 05:31:33 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|