Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

sleep php

sleep($number_of_seconds);
usleep($number_of_microseconds);

<?php
echo date('h:i:s'); //17:30:30
// Stop  1 second
sleep(1);
//usleep(1000000); // the same in microsecondes 
//for more 1 second use sleep 

echo date('h:i:s');//17:30:31
?>
 
PREVIOUS NEXT
Tagged: #sleep #php
ADD COMMENT
Topic
Name
4+1 =