note 73956 deleted from control-structures.do.while by nlopess

From: Date: Sun, 18 Mar 2007 12:36:24 +0000
Subject: note 73956 deleted from control-structures.do.while by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124561@lists.php.net to get a copy of this message
Note Submitter: kevin at xn--pse-ula dot net ---- 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.

« previous php.notes (#124561) next »