PHP 4.0 Bug #10203 Updated: foreach weakness

From: Date: Fri, 06 Apr 2001 11:19:31 +0000
Subject: PHP 4.0 Bug #10203 Updated: foreach weakness
Groups: php.dev 
Request: Send a blank email to php-dev+get-51016@lists.php.net to get a copy of this message
ID: 10203 Updated by: hholzgra Reported By: jack@mobil.cz Old-Status: Open Status: Feedback Bug Type: Feature/Change Request Assigned To: Comments: and what should it do? i guess you want to have key and value in one step? this is done by the foreach($array as $key => $value) construct, does that satisfy your needs? Previous Comments: --------------------------------------------------------------------------- [2001-04-06 06:53:12] jack@mobil.cz hello foreach ($array as list($a, $b)) ; won't work. is there any hope this will change in future? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10203&edit=2

« previous php.dev (#51016) next »