Re: [PHP4BETA] Problem with unset()
| From: | Andrey Zmievski | Date: | Wed, 28 Jul 1999 13:50:09 +0000 |
| Subject: | Re: [PHP4BETA] Problem with unset() | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2905@lists.php.net to get a copy of this message | ||
Ken Leshner wrote:
> How can I delete the key/value pairs from a global array, yet keep
> its reference around so I can fill it up again?
Just do $MyArray = array();
-Andrey
* The future has arrived, it's just not evenly distributed. -W. Gibson *