Re: note 18274 added to function.unset
| From: | Kenneth Schwartz | Date: | Wed, 16 Jan 2002 19:08:48 +0000 |
| Subject: | Re: note 18274 added to function.unset | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24951@lists.php.net to get a copy of this message | ||
To unset an array, use:
unset($array);
The manual notes are not a place to ask questions, please see
http://www.php.net/support.php for places to ask
questions.
Best regards,
Kenneth Schwartz
irc-html@php.net
On 16 Jan 2002 18:57:49 -0000
wilfried.trinkl@maxmobil.at (Wilfried Trinkl) wrote:
> If you try to unset an array with:
> unset($testarray[]);
> you will get:
> Fatal error: Cannot use [] for unsetting in test.php3 on line 101
> Is it another feature?
> PHP-Version 4.1.0
> --
> http://www.php.net/manual/en/function.unset.php
> http://master.php.net/manage/user-notes.php?action=edit+18274
> http://master.php.net/manage/user-notes.php?action=delete+18274
> http://master.php.net/manage/user-notes.php?action=reject+18274