note 73956 added to control-structures.do.while
| From: | kevin at xn--pse-ula dot net | Date: | Sat, 17 Mar 2007 18:36:57 +0000 |
| Subject: | note 73956 added to control-structures.do.while | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124540@lists.php.net to get a copy of this message | ||
It should be while(0), just lite it says.
The example allows "stopping execution in the middle of code blocks" just like it also
says. If the first if-case isn't fullfilled then it will break and skip the following code.
If $i is smaller than 5, the rest of the code inside the do-while should be skipped because
it's not needed.
----
Server IP: 129.16.214.50
Probable Submitter: 85.228.224.91
----
Manual Page -- http://www.php.net/manual/en/control-structures.do.while.php
Edit -- https://master.php.net/note/edit/73956
Del: integrated -- https://master.php.net/note/delete/73956/integrated
Del: useless -- https://master.php.net/note/delete/73956/useless
Del: bad code -- https://master.php.net/note/delete/73956/bad+code
Del: spam -- https://master.php.net/note/delete/73956/spam
Del: non-english -- https://master.php.net/note/delete/73956/non-english
Del: in docs -- https://master.php.net/note/delete/73956/in+docs
Del: other reasons-- https://master.php.net/note/delete/73956
Reject -- https://master.php.net/note/reject/73956
Search -- https://master.php.net/manage/user-notes.php