84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Is the for loop executed first like the do while loop? -PHP Chinese website Q&A-Is the for loop executed first like the do while loop? -PHP Chinese website Q&A
Please watch and learn.
for(表达式1;表达式2;表达式3){
循环代码
}
先执行表达式1和表达式2 ,再到表达3去判断
do{
}while(条件)
而do while 则是先执行一次,到while时在判断
Is the for loop executed first like the do while loop? -PHP Chinese website Q&A-Is the for loop executed first like the do while loop? -PHP Chinese website Q&A
Please watch and learn.
for(表达式1;表达式2;表达式3){
循环代码
}
先执行表达式1和表达式2 ,再到表达3去判断
do{
循环代码
}while(条件)
而do while 则是先执行一次,到while时在判断