The script that shows the date and time in milliseconds
then falls asleep on usleep(20000);
And again displays the date
$microt = explode(" ",microtime()); echo $time = date("YmdHis",$microt[1]).substr((string)$microt[0],1,4); echo "<br>"; usleep(20000); $microt = explode(" ",microtime()); echo $time = date("YmdHis",$microt[1]).substr((string)$microt[0],1,4); echo "<br>"; // run the script in turn 3 times // display the script
//попытка 1 2016-10-28-20-29-57.909 2016-10-28-20-29-57.929 //попытка 2 2016-10-28-20-30-27.222 2016-10-28-20-30-27.243 //попытка 3 2016-10-28-20-30-51.911 2016-10-28-20-30-51.931 Attempt 1 and 3 worked fine, but attempt 2 instead of a difference of 0.20 brought the difference to 0.21, as you can see the script is no longer busy, what could be the problem?