request: foreach ($array as $key => &$value)

From: Date: Fri, 17 Dec 1999 01:48:15 +0000
Subject: request: foreach ($array as $key => &$value)
Groups: php.version4 
Request: Send a blank email to php-version4+get-8023@lists.php.net to get a copy of this message
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... tc 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

« previous php.version4 (#8023) next »