Answers for "sleep(miliseconds) php"

PHP
2

php sleep milliseconds

usleep(10);	// Sleeps 1 millisecond
Posted by: Guest on June-01-2020
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