Bug #10653: loop limiters
| From: | tboothby at felfel dot com | Date: | Thu, 03 May 2001 21:49:53 +0000 |
| Subject: | Bug #10653: loop limiters | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53739@lists.php.net to get a copy of this message | ||
From: tboothby@felfel.com
Operating system: N/A
PHP version: 4.0.5
PHP Bug Type: Feature/Change Request
Bug description: loop limiters
Looping structures should (IMO) all have a limiting variant.
For example,
while100($rec=mysql_fetch_row($res)) {...}
Would only loop 100 times
for1000($i=0;$i<count($search);$i++) {...}
Would loop 1000 times, etc.
--
Edit Bug report at: http://bugs.php.net/?id=10653&edit=1