note 94260 deleted from control-structures.do.while by thiago
| From: | thiago@php.net | Date: | Mon, 26 Oct 2009 13:43:10 +0000 |
| Subject: | note 94260 deleted from control-structures.do.while by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162106@lists.php.net to get a copy of this message | ||
Note Submitter: rob at robnugen dot com
----
I'm surprised to see the use of a break inside a do-while as a "hack."
The documentation of the for loop includes an example using break, but is not described as a hack.
Even the documentation for break doesn't say it's a hack.
Since I quit coding in BASIC, I've always thought goto is a hack...