RE: [PHP] Free array
| From: | Ford, Mike [LSS] | Date: | Fri, 10 May 2002 11:23:20 +0000 |
| Subject: | RE: [PHP] Free array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96934@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Martin Thoma [mailto:martin@radiok2r.de]
> Sent: 10 May 2002 12:01
>
> Hello! I'm working with an array (about 20 MB), which is shifted to
> several other arrays and so on. When I shift a array to
> another, I don't
> need to source-array anymore. PHP is able to handle 2 of the
> arrays, but
> by using more, I get errors about allocating memory. How can
> I tell PHP
> to release to not-used arrays? I didn't find anything like delete or
> free.
http://uk.php.net/manual/en/function.unset.php
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211