Page 1 of 1

how to kill array data

Posted: Wed Jul 16, 2003 4:12 am
by toshesh
Hi all,

How can I remove the array data from the memory?

something like

delete $array?

or ~$array?

I have a large data being transfered via array so it clogs up the memory.

Posted: Wed Jul 16, 2003 4:30 am
by Wayne
unset ($array);

Posted: Wed Jul 16, 2003 4:36 am
by toshesh
this would remove data from memory as well?

Posted: Wed Jul 16, 2003 5:52 am
by twigletmac
Have you read all of the user notes here?

Mac

Posted: Wed Jul 16, 2003 5:56 am
by Tubbietoeter
go to php.net and search for unset in the top right corner

Posted: Wed Jul 16, 2003 7:06 am
by toshesh
thanks, yap it explains everything!