主页
PHP
PHP for 循环
tryphp_for_10
运行 ❯
×
更改方向
保存代码
更改主题
<?php for ($x = 0; $x <= 100; $x+=10) { echo "The number is: $x
"; } ?>
The number is: 0
The number is: 10
The number is: 20
The number is: 30
The number is: 40
The number is: 50
The number is: 60
The number is: 70
The number is: 80
The number is: 90
The number is: 100