Re: emptying hte array??
| From: | Justin French | Date: | Wed, 15 Jan 2003 00:42:28 +0000 |
| Subject: | Re: emptying hte array?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131631@lists.php.net to get a copy of this message | ||
on 15/01/03 7:52 AM, Scott Fletcher (scott@abcoa.com) wrote:
> How to do the proper way of emptying hte array??
>
> Example...
>
> $a[0] = "test1";
> $a[1] = "test2";
> $a[2] = "test3";
> $a[3] = "test4";
>
> $a = ""; <-- Is this hte proper way to do it????
unset($a);
http://php.net/unset
Justin