note 97056 added to function.end
| From: | janogarcia dot es at gmail dot com | Date: | Tue, 30 Mar 2010 10:01:18 +0000 |
| Subject: | note 97056 added to function.end | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167522@lists.php.net to get a copy of this message | ||
A warning on the previous two notes (#95904, #94213):
Please note that "foreach has some side effects on the array pointer. Don't rely on the
array pointer during or after the foreach without resetting it."
http://php.net/manual/en/control-structures.foreach.php
You are better off with something along the lines of this http://www.php.net/manual/en/control-structures.foreach.php#90492
----
Server IP: 69.147.83.197
Probable Submitter: 77.224.246.191
----
Manual Page -- http://www.php.net/manual/en/function.end.php
Edit -- https://master.php.net/note/edit/97056
Del: integrated -- https://master.php.net/note/delete/97056/integrated
Del: useless -- https://master.php.net/note/delete/97056/useless
Del: bad code -- https://master.php.net/note/delete/97056/bad+code
Del: spam -- https://master.php.net/note/delete/97056/spam
Del: non-english -- https://master.php.net/note/delete/97056/non-english
Del: in docs -- https://master.php.net/note/delete/97056/in+docs
Del: other reasons-- https://master.php.net/note/delete/97056
Reject -- https://master.php.net/note/reject/97056
Search -- https://master.php.net/manage/user-notes.php