Re: [PHP4BETA] request: foreach ($array as $key => &$value)
| From: | Thies C. Arntzen | Date: | Fri, 17 Dec 1999 03:52:25 +0000 |
| Subject: | Re: [PHP4BETA] request: foreach ($array as $key => &$value) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8028@lists.php.net to get a copy of this message | ||
On Thu, 16 Dec 1999, Andrei Zmievski wrote:
^^^^^^^
> On Fri, 17 Dec 1999, Thies C . Arntzen wrote:
^^^^^^^^
you replied (will have replied?) *before* i wrote (have written?) that
mail, scary...
:))
tc
> > zeev, andi -
> >
> > would it be hard to implement this syntax, currently there's no good way
> > of traversion an array *without* coping the values (very bad if you have
> > lot's of subarrays). also we should enable foreach for objects as well i
> > think...
>
> Yes, for some reason I thought this was already available but I guess
> not.
>
> -Andrei
>
> The Heineken Uncertainty Principle:
> You can never be sure how many beers you had last night.
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany