Answers for "php sleep for microseconds"

PHP
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