?
Ce document utilise Manuel du site Web PHP chinois Libérer
index is used to display the current loop index, starting with zero (or the start attribute if given), and incrementing by one (or by the step attribute if given.)
index 用于顯示當(dāng)前循環(huán)的索引,從0開始(如果指定了start屬性,那么由該值開始),每次加1(如果指定了step屬性,那么由該值決定).
Technical Note: If the step and start section properties are not modified, then this works the same as the iteration section property, except it starts on 0 instead of 1.
技術(shù)細(xì)節(jié):如果沒(méi)有指定step和start屬性,此值的作用和iteration類似,只不過(guò)從0開始而已.
Example 7-21. section property index
|