php delay without sleep code example Example 1: php sleep milliseconds usleep(10); // Sleeps 1 millisecond Example 2: php sleep half a second usleep(500000);