LimitIterator::getPositionReturn the current position Description
public int LimitIterator::getPosition
( void
)
Gets the current zero-based position of the inner Iterator. ParametersThis function has no parameters. Return ValuesThe current position. Examples
Example #1 LimitIterator::getPosition example
<?php The above example will output: 2 cherry 3 damson 4 elderberry See Also
|