note 114759 added to control-structures.foreach

From: Date: Wed, 02 Apr 2014 09:52:49 +0000
Subject: note 114759 added to control-structures.foreach
Groups: php.notes 
Request: Send a blank email to php-notes+get-199104@lists.php.net to get a copy of this message
What happened to this note: "Unless the array is referenced, foreach operates on a copy of the specified array and not the array itself. foreach has some side effects on the array pointer. Don't rely on the array pointer during or after the foreach without resetting it." Is this no longer the case? It seems only to remain in the Serbian documentation: http://php.net/manual/sr/control-structures.foreach.php ---- Server IP: 72.52.91.14 Probable Submitter: 89.167.143.229 ---- Manual Page -- http://php.net/manual/en/control-structures.foreach.php Edit -- https://master.php.net/note/edit/114759 Del: integrated -- https://master.php.net/note/delete/114759/integrated Del: useless -- https://master.php.net/note/delete/114759/useless Del: bad code -- https://master.php.net/note/delete/114759/bad+code Del: spam -- https://master.php.net/note/delete/114759/spam Del: non-english -- https://master.php.net/note/delete/114759/non-english Del: in docs -- https://master.php.net/note/delete/114759/in+docs Del: other reasons-- https://master.php.net/note/delete/114759 Reject -- https://master.php.net/note/reject/114759 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199104) next »