主页
PHP
PHP for 循环
tryphp_for_continue
运行 ❯
×
更改方向
保存代码
更改主题
<?php for ($x = 0; $x <= 10; $x++) { if ($x == 3) continue; echo "The number is: $x
"; } ?>
The number is: 0
The number is: 1
The number is: 2
The number is: 4
The number is: 5
The number is: 6
The number is: 7
The number is: 8
The number is: 9
The number is: 10