how to make a timer php sleep function code example Example: sleep php <?php sleep(4); echo "Done\n"; ?>