On Tue, 20 Feb 2001, Stig Venaas wrote:
> I could in order to save the position do $key = key($arr). To
> restore it later, I could then do something like array_setpos($key).
> I'm not sure if the Zend API allows for setting the position without
> looping through the array though. If array_setpos() is passed a non-
> existing key it should return FALSE, else TRUE.

I don't think Zend API allows that, but it's possible if you loop
through it.

> What do you think?

I wouldn't have a use for that function personally, but I can't say the
same for others...


"The time from now until the completion
 of the project tends to become constant." -- Douglas Hartree

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to