note 84370 deleted from control-structures.do.while by danbrown

From: Date: Thu, 10 Jul 2008 16:36:56 +0000
Subject: note 84370 deleted from control-structures.do.while by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141378@lists.php.net to get a copy of this message
Note Submitter: Anonymous Reason: useless ---- 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); ?>

« previous php.notes (#141378) next »