for语句的$i 和$sum变量必须在括号里面赋值呢?
小白
小白 2016-12-22 14:52:41
0
2
1010
小白
小白

好好学习,天天向上!!!

reply all(2)
数据分析师

The $i and $sum variables in the for statement must be assigned values ​​inside parentheses? -PHP Chinese website Q&A-Do the $i and $sum variables in the for statement have to be assigned within parentheses? -PHP Chinese website Q&A

Please watch and learn.

迷茫

也可以在外面先赋值,放在循环内,代码会比较简洁一点!现在大部分都习惯了这样的写法!

  • reply 原来是这样,知道了,感谢!
    看透不说透 author 2016-12-22 15:18:05
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template