Re: blanking out an array

From: Date: Tue, 18 Jul 2000 20:25:58 +0000
Subject: Re: blanking out an array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7148@lists.php.net to get a copy of this message
On Tue, 18 Jul 2000, Erb, Maria wrote: > hi, > > i need to be able to totally erase all the elements of an array after it is > used in a script. Unfortunately, unset doesn't seem to be working for me > since I have the elements of the array stored in a MySQL using the > "serialize" function and not all of the code fragments (for lack of a better > descriptive phrase) are deleted when I use unset. I've also tried setting > each element to "" but that isn't working either. There must be a simple > solution to this problem, does anyone have a suggestion? Will $foo = array(); work for you? -Andrei "Someone clearly thinks that C is a garbage collected language" -- Morten Welinder

« previous php.general (#7148) next »