note 9897 added to continue
| From: | skunkie at newmail dot ru | Date: | Thu, 30 Nov 2000 03:17:39 +0000 |
| Subject: | note 9897 added to continue | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8288@lists.php.net to get a copy of this message | ||
It does exactly what it was supposed to do. Did you think it was just another alias for
'break'? Nah. Like they said, it's for finishing the current iteration without
exiting the loop. That's how it is for any C dialect or clone (check JavaScript, for instance),
so nothing odd here.
http://www.php.net/manual/control-structures.continue.php