好好学习,天天向上!!!
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.
也可以在外面先赋值,放在循环内,代码会比较简洁一点!现在大部分都习惯了这样的写法!
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.
也可以在外面先赋值,放在循环内,代码会比较简洁一点!现在大部分都习惯了这样的写法!