note 111014 added to control-structures.foreach

From: Date: Sun, 06 Jan 2013 06:54:02 +0000
Subject: note 111014 added to control-structures.foreach
Groups: php.notes 
Request: Send a blank email to php-notes+get-192773@lists.php.net to get a copy of this message
"As foreach relies on the internal array pointer changing it within the loop may lead to unexpected behavior." This means that you can't nest foreach loops. There is only one internal array pointer. ---- Server IP: 69.147.83.199 Probable Submitter: 70.181.177.124 ---- Manual Page -- http://php.net/manual/en/control-structures.foreach.php Edit -- https://master.php.net/note/edit/111014 Del: integrated -- https://master.php.net/note/delete/111014/integrated Del: useless -- https://master.php.net/note/delete/111014/useless Del: bad code -- https://master.php.net/note/delete/111014/bad+code Del: spam -- https://master.php.net/note/delete/111014/spam Del: non-english -- https://master.php.net/note/delete/111014/non-english Del: in docs -- https://master.php.net/note/delete/111014/in+docs Del: other reasons-- https://master.php.net/note/delete/111014 Reject -- https://master.php.net/note/reject/111014 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192773) next »