note 76227 added to language.references.whatdo

From: Date: Fri, 06 Jul 2007 07:50:57 +0000
Subject: note 76227 added to language.references.whatdo
Groups: php.notes 
Request: Send a blank email to php-notes+get-128260@lists.php.net to get a copy of this message
Solution to post "php at hood dot id dot au 04-Mar-2007 10:56": <?php $a1 = array('a'=>'a'); $a2 = array('a'=>'b'); foreach ($a1 as $k=>&$v) $v = 'x'; echo $a1['a']; // will echo x unset($GLOBALS['v']); foreach ($a2 as $k=>$v) {} echo $a1['a']; // will echo x ?> ---- Server IP: 69.147.83.197 Probable Submitter: 80.68.252.64 (proxied: 80.68.253.54) ---- Manual Page -- http://www.php.net/manual/en/language.references.whatdo.php Edit -- https://master.php.net/note/edit/76227 Del: integrated -- https://master.php.net/note/delete/76227/integrated Del: useless -- https://master.php.net/note/delete/76227/useless Del: bad code -- https://master.php.net/note/delete/76227/bad+code Del: spam -- https://master.php.net/note/delete/76227/spam Del: non-english -- https://master.php.net/note/delete/76227/non-english Del: in docs -- https://master.php.net/note/delete/76227/in+docs Del: other reasons-- https://master.php.net/note/delete/76227 Reject -- https://master.php.net/note/reject/76227 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128260) next »