Re: Bug #1115 Updated: each() should reset array pointers by default?
| From: | Lina Song | Date: | Fri, 19 May 2000 15:49:57 +0000 |
| Subject: | Re: Bug #1115 Updated: each() should reset array pointers by default? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18968@lists.php.net to get a copy of this message | ||
""Haewon Song"" <ruen@ynotclean.com> wrote in message
news:004701bfc1a3$8b125e10$533914ce@jeongbook.com...
> reset ($arr);
>
> while($oneelement = each($arr))
> {
> $oneelement = $oneelement[value];
> ...
> }
>
> ----- Original Message -----
> From: "Bug Database" <php-dev@lists.php.net>
> To: <charlie@k4azl.net>; <php-dev@lists.php.net>
> Sent: Friday, May 19, 2000 9:52 AM
> Subject: [PHP-DEV] Bug #1115 Updated: each() should reset array pointers
by
> default?
>
>
> > ID: 1115
> > Updated by: hholzgra
> > Reported By: charlie@k4azl.net
> > Status: Closed
> > Bug Type: Feature/Change Request
> > Assigned To:
> > Comments:
> >
> > yeah, how should each() function distinuish betwenn
> > first and following cycle in while-loop
> > this ain't possible to implement in a sane way
> >
> > Full Bug description available at:
> > http://bugs.php.net/?id=1115
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-dev-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>