note 84370 added to control-structures.do.while

From: Date: Thu, 10 Jul 2008 15:53:42 +0000
Subject: note 84370 added to control-structures.do.while
Groups: php.notes 
Request: Send a blank email to php-notes+get-141372@lists.php.net to get a copy of this message
I think this example <?php do { if ($i < 5) { echo "i is not big enough"; break; } $i *= $factor; if ($i < $minimum_limit) { break; } echo "i is ok"; /* process i */ } while (0); ?> is suitable to phrase "Don't worry if you don't understand this right away or at all.". Examples MUST be clear. Like that: <?php $i = 10; do { if ($i < 5) { echo "i is not big enough"; break; } $i--; echo "i is ok"; } while (0); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 212.15.153.47 ---- Manual Page -- http://www.php.net/manual/en/control-structures.do.while.php Edit -- https://master.php.net/note/edit/84370 Del: integrated -- https://master.php.net/note/delete/84370/integrated Del: useless -- https://master.php.net/note/delete/84370/useless Del: bad code -- https://master.php.net/note/delete/84370/bad+code Del: spam -- https://master.php.net/note/delete/84370/spam Del: non-english -- https://master.php.net/note/delete/84370/non-english Del: in docs -- https://master.php.net/note/delete/84370/in+docs Del: other reasons-- https://master.php.net/note/delete/84370 Reject -- https://master.php.net/note/reject/84370 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141372) next »