PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::sleep — Delay execution

Synopsis

      require_once 'HTML/Progress2.php';
     

void HTML_Progress2::sleep();
;

Description

The HTML_Progress2::sleep() function delays program execution for the given number of milliseconds. This is the default user callback when none are defined.

NOTE: The function http://www.php.net/manual/en/function.usleep.php did not work on Windows systems until PHP 5.0.0

Throws

throws no exceptions thrown

See

see HTML_Progress2::getAnimSpeed , HTML_Progress2::setAnimSpeed , HTML_Progress2::process

Note

since 2.0.0

This function can not be called statically.

HTML_Progress2 : The Definitive Guide v 2.4.0 : April 20, 2007