note 46648 deleted from control-structures.for by didou
| From: | didou@php.net | Date: | Mon, 17 Jan 2005 17:50:54 +0000 |
| Subject: | note 46648 deleted from control-structures.for by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83511@lists.php.net to get a copy of this message | ||
Note Submitter: Joseph Wamicha
----
Not initializing $i in for loop will have it initialize to 1. This for loop demonstrates this:
<?php
for($i;$i<10;$i++)
{
echo $i."<br>";
}
?>