主页
PHP
PHP do while 循环
tryphp_do_while2
运行 ❯
×
更改方向
保存代码
更改主题
<?php $i = 8; do { echo $i; $i++; } while ($i < 6); ?>
As you can see, the code is executed once, even if the condition is never true.
8
As you can see, the code is executed once, even if the condition is never true.