Re: [PHP-DEV] Bug #27782

2004-04-01 Thread Andi Gutmans
I'm not sure these functions should be fixed. Personally I always recommend to people to use foreach() or sometimes each() but never these old functions. If the only problem is that once we reach the end, we can't call prev() then I think we should just document this. Using array_valid() in con

Re: [PHP-DEV] Bug #27782

2004-04-01 Thread Marcus Boerger
Hello Ilia, Thursday, April 1, 2004, 9:24:25 PM, you wrote: > This bug is the result of the engine moving the current array position to 0x0 > if there are no more next elements (next/each) or no more preceding elements > (prev). The results is that if you were to run: > $a = array(1,2,3); > whil