Easy Tutorial
❮ Func Array Multisort Func Math Dechex ❯

PHP time_sleep_until() Function

PHP Misc Reference Manual

Example

Delay the execution of the current script until 10 seconds:


Definition and Usage

The time_sleep_until() function delays the execution of the current script until the specified time.

Note: If the specified number is negative, the function will throw an error.


Syntax

Parameter Description
timestamp Required. Specifies the wake-up time.

Technical Details

Return Value: Returns TRUE on success, FALSE on failure.
PHP Version: 5.1.0+
--- ---
Changelog: This function was implemented on Windows platforms starting from PHP 5.3.0.
--- ---
❮ Func Array Multisort Func Math Dechex ❯