Created
June 8, 2019 23:31
-
-
Save flaviors200/8174a28d2c43056e8c4ae8651e479033 to your computer and use it in GitHub Desktop.
Loop statements: while
This file contains 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 | |
$money = 10; | |
while ($money > 0) { | |
echo "Valore di \$money = $money\n"; | |
$money--; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment