note 56723 deleted from function.array-splice by felipe
| From: | felipe@php.net | Date: | Sat, 05 Jan 2008 02:06:36 +0000 |
| Subject: | note 56723 deleted from function.array-splice by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134809@lists.php.net to get a copy of this message | ||
Note Submitter: cronodragon_at_gmail
----
To delete an element of an array just use unset(). Example:
// Deletes the element with the key "quux" from array $bar
unset($bar['quux']);
Easy! =)