Re: foreach and destroying variables for memory saving
| From: | ceo at l-i-e dot com | Date: | Wed, 10 Dec 2008 19:09:30 +0000 |
| Subject: | Re: foreach and destroying variables for memory saving | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-284430@lists.php.net to get a copy of this message | ||
PHP does have garbage_collection, and it's crucial in long-running CLI scripts.
Per is right, though, in that if your web-page Apache PHP script needs GC, you are doing something
terribly wrong.
It is not as aggressive/thorough as, say, the Lisp GC, but it's there.
ymmv