PHP function time_sleep_until()

Availability in versions: PHP 5.1.0

Move script to sleep by the specified time

Parameters

Parameter Data type Default value Note
$timestamp float not The time when the script should wake up.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official documentation for time-sleep-until

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.