note 72167 added to function.set-time-limit

From: Date: Fri, 05 Jan 2007 13:50:24 +0000
Subject: note 72167 added to function.set-time-limit
Groups: php.notes 
Request: Send a blank email to php-notes+get-121318@lists.php.net to get a copy of this message
while setting the set_time_limit(), the duration of sleep() will be ignored in the execution time. The following illustrates: <?php set_time_limit(20); while ($i<=10) { echo "i=$i "; sleep(100); $i++; } ?> Output: i=0 i=1 i=2 i=3 i=4 i=5 i=6 i=7 i=8 i=9 i=10 ---- Server IP: 203.199.124.111 Probable Submitter: 203.200.218.164 (proxied: 1.1 SONHYDISA02) ---- Manual Page -- http://www.php.net/manual/en/function.set-time-limit.php Edit -- https://master.php.net/note/edit/72167 Del: integrated -- https://master.php.net/note/delete/72167/integrated Del: useless -- https://master.php.net/note/delete/72167/useless Del: bad code -- https://master.php.net/note/delete/72167/bad+code Del: spam -- https://master.php.net/note/delete/72167/spam Del: non-english -- https://master.php.net/note/delete/72167/non-english Del: in docs -- https://master.php.net/note/delete/72167/in+docs Del: other reasons-- https://master.php.net/note/delete/72167 Reject -- https://master.php.net/note/reject/72167 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121318) next »