note 21132 added to control-structures.for
| From: | vh1 at punkhardcore dot net | Date: | Tue, 30 Apr 2002 10:33:36 +0000 |
| Subject: | note 21132 added to control-structures.for | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30012@lists.php.net to get a copy of this message | ||
Is there any way to have for() count using a decrement?
Here's what I'm trying to do:
for($i < count($file);$i = 0;$i--){
...
}
--
http://www.php.net/manual/en/control-structures.for.php
http://master.php.net/manage/user-notes.php?action=edit+21132
http://master.php.net/manage/user-notes.php?action=delete+21132
http://master.php.net/manage/user-notes.php?action=reject+21132