<?php
bool time_sleep_until ( float $timestamp )
where,
$timestamp = The timestamp when the script should wake
?>
<?php
$lang = 'en';
$str_tzg = date_default_timezone_get();
$pt = 'Fuso horário atual:<br>';
$en = 'Current Time Zone:<br>';
$jp = 'タイムゾーンセット:<br>';
echo '<br>' . $$lang . ' ' . $str_tzg . '<br><br>';
$timei = microtime(time());
echo $timei . '<br>' . date("l F d Y H:i:s") . '<br><br>';
$tmsluntil = time_sleep_until($timei + 0.5);
$timem = microtime(time());
echo $timem . '<br>' . date("l F d Y H:i:s") . '<br><br>';
var_dump($tmsluntil);
?>