sleep php in miliseconds code example
Example 1: php sleep milliseconds
usleep(10); // Sleeps 1 millisecond
Example 2: sleep microseconds php
<?php
// Current time
echo date('h:i:s') . "\n";
// wait for 2 seconds
usleep(2000000);
// back!
echo date('h:i:s') . "\n";
?>