I had added the issue (ZF-402) already, but I agreed with Davey - it's
wrong way. So using an index pointer seems to be a better way.

On 9/28/06, Simon Mundy <[EMAIL PROTECTED]> wrote:

FWIW I wrote a patch for this out of curiosity.

Rather than relying on _iterationPointerValid, it simply uses an index
pointer - if the index is equal to the length of the array length then
'valid()' will always return false. rewind() will reset this pointer to 0.

If you find it useful I'll add it to the Bug tracker

Cheers

Reply via email to