time sleep php code example
Example 1: php delay
sleep(1.5); // Sleeps 1.5 seconds
Example 2: sleep php
<?php
sleep(4);
echo "Done\n";
?>
Example 3: sleep php
<?php
sleep(4);
echo "Done\n";
?>
sleep(1.5); // Sleeps 1.5 seconds
<?php
sleep(4);
echo "Done\n";
?>
<?php
sleep(4);
echo "Done\n";
?>