note 89487 added to language.references.whatdo
| From: | DraganSimic at osu1 dot php dot net | Date: | Tue, 10 Mar 2009 18:51:09 +0000 |
| Subject: | note 89487 added to language.references.whatdo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151695@lists.php.net to get a copy of this message | ||
In reply to amp at gmx dot info 08-Jun-2007 05:59
What's enough is simply this:
$v1= 0 ;
$arrV = array(&$v1, &$v1);
foreach ($arrV as &$v) {
$v1++;
echo ($v . "\n");
}
what produces this output:
1
2
Tested with PHP 5.1.6
----
Server IP: 69.147.83.197
Probable Submitter: 94.250.22.108
----
Manual Page -- http://www.php.net/manual/en/language.references.whatdo.php
Edit -- https://master.php.net/note/edit/89487
Del: integrated -- https://master.php.net/note/delete/89487/integrated
Del: useless -- https://master.php.net/note/delete/89487/useless
Del: bad code -- https://master.php.net/note/delete/89487/bad+code
Del: spam -- https://master.php.net/note/delete/89487/spam
Del: non-english -- https://master.php.net/note/delete/89487/non-english
Del: in docs -- https://master.php.net/note/delete/89487/in+docs
Del: other reasons-- https://master.php.net/note/delete/89487
Reject -- https://master.php.net/note/reject/89487
Search -- https://master.php.net/manage/user-notes.php