Delay the execution of the current script until 10 seconds in PHP

Description

The following code shows how to delay the execution of the current script until 10 seconds.

Example


  /*from w ww.java  2s .  c  o  m*/
<?php
    // wake up ten seconds from now
    time_sleep_until(time()+10);
?>




















Home »
  PHP Tutorial »
    Data Types »




Array
Array Associative
Array Util
ArrayObject
Data Types
Date
Date Format
DateTime
Number
String
String Escape
String Filter
String HTML
String Type
Timezone