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