note 16117 added to function.array
| From: | clark at wayport dot net | Date: | Wed, 17 Oct 2001 02:45:14 +0000 |
| Subject: | note 16117 added to function.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19020@lists.php.net to get a copy of this message | ||
ATTN: tom@greycrow.de
RE: Removing a value from an array.
unset unsets the value, but the array remains the same size.
When memory space is a concern, the function suggested by Pete@thetgg.co.uk removes the value from
the array and frees
up the memory.
--
http://www.php.net/manual/en/function.array.php
http://master.php.net/manage/user-notes.php?action=edit+16117
http://master.php.net/manage/user-notes.php?action=delete+16117
http://master.php.net/manage/user-notes.php?action=reject+16117