note 85505 added to function.next

From: Date: Tue, 02 Sep 2008 22:27:00 +0000
Subject: note 85505 added to function.next
Groups: php.notes 
Request: Send a blank email to php-notes+get-144096@lists.php.net to get a copy of this message
regarding references with foreach, you can use them directly. Obviating various posts which provide many lines of 'work arounds'. $array = array(1,2,3,4,5); foreach($array as &$value) or use $key foreach($array as $key => $value) { $array[$key] = '...'; } ---- Server IP: 92.48.100.16 Probable Submitter: 84.19.108.52 ---- Manual Page -- http://www.php.net/manual/en/function.next.php Edit -- https://master.php.net/note/edit/85505 Del: integrated -- https://master.php.net/note/delete/85505/integrated Del: useless -- https://master.php.net/note/delete/85505/useless Del: bad code -- https://master.php.net/note/delete/85505/bad+code Del: spam -- https://master.php.net/note/delete/85505/spam Del: non-english -- https://master.php.net/note/delete/85505/non-english Del: in docs -- https://master.php.net/note/delete/85505/in+docs Del: other reasons-- https://master.php.net/note/delete/85505 Reject -- https://master.php.net/note/reject/85505 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144096) next »