©
Ce document utilise Manuel du site Web PHP chinois Libérer
iteration is used to display the current loop iteration.
iteration 用于显示循环的次数.
NOTE: This is not affected by the section properties start, step and max, unlike the index property. Iteration also starts with 1 instead of 0 like index. rownum is an alias to iteration, they work identical.
注意:iteration 不像index属性受start、step和max属性的影响,该值总是从1开始(index是从0开始的).rownum 是iteration的别名,两者等同.
Example 7-24. section property iteration
|