Opóźnienie PHP
sleep(1.5); // Sleeps 1.5 seconds
garzj
sleep(1.5); // Sleeps 1.5 seconds
<?php
echo date('h:i:s').'<br>'; //hour:minute:second
sleep(10); //10 seconds
echo date('h:i:s');
?>
<?php
sleep(4);
echo "Done\n";
?>
sleep()
<?php
sleep(4);
echo "Done\n";
?>