Last active
May 23, 2017 02:47
-
-
Save YurePereira/fa31a31617c1a1da9553eb2c84490a5a to your computer and use it in GitHub Desktop.
Exemplo 3 usando laço de repetição FOR, terceira expressão.
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 | |
| for ($contador = 0; $contador < 5; $contador++) { | |
| echo $contador . PHP_EOL; | |
| } | |
| /* | |
| Saída: | |
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment