Answers for "php sleep less than 1 sec"

PHP
2

php sleep half a second

usleep(500000);
Posted by: Guest on June-19-2019
0

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";

?>
Posted by: Guest on May-21-2020

Browse Popular Code Answers by Language