note 94052 added to control-structures.foreach
| From: | megazzt at gmail dot com | Date: | Wed, 14 Oct 2009 01:58:39 +0000 |
| Subject: | note 94052 added to control-structures.foreach | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161709@lists.php.net to get a copy of this message | ||
It's worth noting that foreach does not properly handle empty arrays... it will issue an
invalid argument warning instead of silently skipping the loop.
----
Server IP: 208.69.120.35
Probable Submitter: 70.104.67.132
----
Manual Page -- http://www.php.net/manual/en/control-structures.foreach.php
Edit -- https://master.php.net/note/edit/94052
Del: integrated -- https://master.php.net/note/delete/94052/integrated
Del: useless -- https://master.php.net/note/delete/94052/useless
Del: bad code -- https://master.php.net/note/delete/94052/bad+code
Del: spam -- https://master.php.net/note/delete/94052/spam
Del: non-english -- https://master.php.net/note/delete/94052/non-english
Del: in docs -- https://master.php.net/note/delete/94052/in+docs
Del: other reasons-- https://master.php.net/note/delete/94052
Reject -- https://master.php.net/note/reject/94052
Search -- https://master.php.net/manage/user-notes.php