note 25675 added to function.unset
| From: | alex at rack1 dot php dot net | Date: | Wed, 02 Oct 2002 04:16:41 +0000 |
| Subject: | note 25675 added to function.unset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37504@lists.php.net to get a copy of this message | ||
maybe this is obvious to some, but for those who don't realise it, after you unset an array
element it will no longer be detected by a foreach loop.
--
http://www.php.net/manual/en/function.unset.php
http://master.php.net/manage/user-notes.php?action=edit+25675
http://master.php.net/manage/user-notes.php?action=delete+25675
http://master.php.net/manage/user-notes.php?action=reject+25675