Re: How do I start at a specific position in an array? Is there
| From: | Thomas Goyne | Date: | Sun, 09 Jan 2005 22:20:54 +0000 |
| Subject: | Re: How do I start at a specific position in an array? Is there | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205917@lists.php.net to get a copy of this message | ||
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz <tularis@php.net> wrote:
that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly set the internal pointer of the array to a spcified place. I used a function which basically looped trough the array until it got to the correct depth, and then returned it by reference....but it's not very efficient :SWhy would you ever want to do that other than to waste cycles?