note 80538 added to language.references.arent
| From: | frank at osu1 dot php dot net | Date: | Mon, 21 Jan 2008 10:46:27 +0000 |
| Subject: | note 80538 added to language.references.arent | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135280@lists.php.net to get a copy of this message | ||
A little warning: my function my_make_vars() (see other post) has a side-effect, of course...
$a=array('x'=>1,'y'=>2);
$x0=&$a['x'];
my_make_vars($a);
# $x0 now is not any more a reference to $a['x'] !!!
$x1=&$a['x']; # (but $x1 is, because done after the my_make_vars($a);)
$x=4; print $a['x'].' '; # ->4
print $x0.' '.$x1; # -> 1 4
----
Server IP: 217.160.72.57
Probable Submitter: 213.178.64.5 (proxied: 86.103.203.167)
----
Manual Page -- http://www.php.net/manual/en/language.references.arent.php
Edit -- https://master.php.net/note/edit/80538
Del: integrated -- https://master.php.net/note/delete/80538/integrated
Del: useless -- https://master.php.net/note/delete/80538/useless
Del: bad code -- https://master.php.net/note/delete/80538/bad+code
Del: spam -- https://master.php.net/note/delete/80538/spam
Del: non-english -- https://master.php.net/note/delete/80538/non-english
Del: in docs -- https://master.php.net/note/delete/80538/in+docs
Del: other reasons-- https://master.php.net/note/delete/80538
Reject -- https://master.php.net/note/reject/80538
Search -- https://master.php.net/manage/user-notes.php