note 4972 deleted from array_splice by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 09:43:58 +0000 |
| Subject: | note 4972 deleted from array_splice by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4012@lists.php.net to get a copy of this message | ||
Spent an hour trying to figure out how to remove an element from an *associative* array. splice
won't do it and there are no "delete" methods either. setting the key to null
doesn't shrink the size of the array. I don't think it's possible. pain.