Last active
May 24, 2017 04:23
-
-
Save YurePereira/7574e0e8efbad3bc3817a46de2b77ce8 to your computer and use it in GitHub Desktop.
Usando o laço de repetição DO-WHILE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $contador = 0; | |
| do {//Esse bloco será executado pelo menos uma vez. | |
| echo $contador++ . PHP_EOL; | |
| } while ($contador < 5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment