note 30923 added to control-structures.continue
| From: | djgold at rack1 dot php dot net | Date: | Thu, 03 Apr 2003 13:01:16 +0000 |
| Subject: | note 30923 added to control-structures.continue | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46167@lists.php.net to get a copy of this message | ||
"would the extra code after 'continue 3' get executed, or would it be skipped?"
Answer:
It would get skipped!
// an if statement
// an expression
would never be executed.
the "Middle" and "Inner" echos would continue 5 times, then the program would
end.
--
http://www.php.net/manual/en/control-structures.continue.php
http://master.php.net/manage/user-notes.php?action=edit+30923
http://master.php.net/manage/user-notes.php?action=delete+30923
http://master.php.net/manage/user-notes.php?action=reject+30923