Delay execution of the current script for 3,5 seconds in PHP
Description
The following code shows how to delay execution of the current script for 3,5 seconds.
Example
/*from ww w .j a va 2 s . co m*/
<?php
if (time_nanosleep(3,500000000) === true){
echo "Slept for three and a half a second";
}
?>