Search found 3 matches
- Fri Sep 18, 2009 4:08 am
- Forum: PHP - Code
- Topic: for loop with continue
- Replies: 5
- Views: 159
Re: for loop with continue
Thank you....
- Fri Sep 18, 2009 12:57 am
- Forum: PHP - Code
- Topic: for loop with continue
- Replies: 5
- Views: 159
Re: for loop with continue
Thank you,
then why the PHP manual defines the continue definition like that. So they should change the "continue"(http://www.php.net/manual/en/control-st ... ntinue.php)definition regarding "for loop"
I think my opinion is right.is not it?
then why the PHP manual defines the continue definition like that. So they should change the "continue"(http://www.php.net/manual/en/control-st ... ntinue.php)definition regarding "for loop"
I think my opinion is right.is not it?
- Fri Sep 18, 2009 12:18 am
- Forum: PHP - Code
- Topic: for loop with continue
- Replies: 5
- Views: 159
for loop with continue
Hi to all, for ($i = 0; $i < 5; $i++){ if ($i == 2) continue; print "$i<br />"; } the above code outputs 0 1 3 4 but the "continue" definition in the php manual(http://www.php.net/manual/en/control-structures.continue.php) tells that the control will check th...