note 83640 added to control-structures.foreach
| From: | Alexandretaz at osu1 dot php dot net | Date: | Thu, 05 Jun 2008 18:34:25 +0000 |
| Subject: | note 83640 added to control-structures.foreach | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140149@lists.php.net to get a copy of this message | ||
I was thinking if there is a way to use the array by reference in the $key=>$value sintax
something like
foreach($array as &$key=>$value){
...
}
----
Server IP: 69.147.83.197
Probable Submitter: 201.83.220.86
----
Manual Page -- http://www.php.net/manual/en/control-structures.foreach.php
Edit -- https://master.php.net/note/edit/83640
Del: integrated -- https://master.php.net/note/delete/83640/integrated
Del: useless -- https://master.php.net/note/delete/83640/useless
Del: bad code -- https://master.php.net/note/delete/83640/bad+code
Del: spam -- https://master.php.net/note/delete/83640/spam
Del: non-english -- https://master.php.net/note/delete/83640/non-english
Del: in docs -- https://master.php.net/note/delete/83640/in+docs
Del: other reasons-- https://master.php.net/note/delete/83640
Reject -- https://master.php.net/note/reject/83640
Search -- https://master.php.net/manage/user-notes.php