W3Schools.com

PHP time_sleep_until() Function


PHP Misc Reference Complete PHP Misc Reference

Definition and Usage

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

This function returns TRUE on success, or FALSE on failure.

Syntax

time_sleep_until(timestamp)

Parameter Description
timestamp Required. Specifies the time to wake


Tips and Notes

Note: This function does not work on Windows platforms.


Example

<?php
// wake up ten seconds from now
time_sleep_until(time()+10);
?>


PHP Misc Reference Complete PHP Misc Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE