can i use sleep inside an if statement php code example Example: sleep php <?php sleep(4); echo "Done\n"; ?>