note 80484 deleted from language.references.arent by tularis

From: Date: Mon, 21 Jan 2008 11:39:00 +0000
Subject: note 80484 deleted from language.references.arent by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-135285@lists.php.net to get a copy of this message
Note Submitter: frank ---- 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

« previous php.notes (#135285) next »