?
This document uses PHP Chinese website manual Release
iteration is used to display the current loop iteration.
iteration 用于顯示循環(huán)的次數(shù).
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
|