time_nanosleep()

It delay for a number of seconds and nanoseconds

Example

<?php
echo time_nanosleep(0, 500000000)?”Slefpt for half second”:”No”;
?>

Output

Slefpt for half second

Share