note 31351 deleted from function.date by philip
| From: | philip@php.net | Date: | Sat, 02 Aug 2003 15:33:20 +0000 |
| Subject: | note 31351 deleted from function.date by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53210@lists.php.net to get a copy of this message | ||
Note Submitter: f.ld
----
Just a piece of code for those who are using their web server with php to test if their application
(using http) properly reacts to timeouts.
May be usefull for some other reasons.
function wait($x)
{
$now = date("U");
$later = $now + $x;
while ($later != date("U"))
{
// do nothing
}
}