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