note 71592 added to function.time

From: Date: Thu, 07 Dec 2006 07:01:06 +0000
Subject: note 71592 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-120358@lists.php.net to get a copy of this message
// - FUNCAO DELAY php --- // cada i incrementado corresponde a aproximadamente 2 micro.s. // every i incremented corresponds to aproximatly 2 microseconds Function Delay($seconds) { $start = time(); $stop = $start + $seconds; $i=0; $currenttime = time(); while($currenttime<=$stop){ $currenttime = time(); $i++; } return $i; } ---- Server IP: 66.163.161.117 Probable Submitter: 201.25.169.104 ---- Manual Page -- http://www.php.net/manual/en/function.time.php Edit -- https://master.php.net/note/edit/71592 Del: integrated -- https://master.php.net/note/delete/71592/integrated Del: useless -- https://master.php.net/note/delete/71592/useless Del: bad code -- https://master.php.net/note/delete/71592/bad+code Del: spam -- https://master.php.net/note/delete/71592/spam Del: non-english -- https://master.php.net/note/delete/71592/non-english Del: in docs -- https://master.php.net/note/delete/71592/in+docs Del: other reasons-- https://master.php.net/note/delete/71592 Reject -- https://master.php.net/note/reject/71592 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120358) next »