Re: [PHP4BETA] request: foreach ($array as $key => &$value)

From: Date: Fri, 17 Dec 1999 03:40:24 +0000
Subject: Re: [PHP4BETA] request: foreach ($array as $key => &$value)
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8027@lists.php.net to get a copy of this message
On Fri, 17 Dec 1999, Thies C . Arntzen wrote: > 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.

« previous php.version4 (#8027) next »