Answers for "sleep in php for loop"

PHP
5

php delay

sleep(1.5);	// Sleeps 1.5 seconds
Posted by: Guest on June-01-2020
1

sleep function in php

<?php
echo date('h:i:s').'<br>'; //hour:minute:second
sleep(10); //10 seconds
echo date('h:i:s');
?>
Posted by: Guest on September-10-2021
0

sleep php

<?php
    sleep(4);
    echo "Done\n";
?>
Posted by: Guest on August-10-2020
0

sleep php

<?php
    sleep(4);
    echo "Done\n";
?>
Posted by: Guest on January-05-2021

Browse Popular Code Answers by Language