note 31063 added to function.usleep

From: Date: Tue, 08 Apr 2003 15:59:33 +0000
Subject: note 31063 added to function.usleep
Groups: php.notes 
Request: Send a blank email to php-notes+get-46365@lists.php.net to get a copy of this message
You could do neat things with this like for unix: <?php $y=1000000; for ($x=1; $x<50; $x++) { echo chr(7); usleep($y*(pow(0.9,$x)+0.2)); } ?> then execute php -q script.php > /dev/console will result in a bombtimer (chr(7) is beep character) :] -- http://www.php.net/manual/en/function.usleep.php http://master.php.net/manage/user-notes.php?action=edit+31063 http://master.php.net/manage/user-notes.php?action=delete+31063 http://master.php.net/manage/user-notes.php?action=reject+31063

« previous php.notes (#46365) next »