RE: [PHP-DEV] Re: CLI in PHP6
| From: | Jani Taskinen | Date: | Thu, 06 Oct 2005 18:37:22 +0000 |
| Subject: | RE: [PHP-DEV] Re: CLI in PHP6 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19455@lists.php.net to get a copy of this message | ||
On Thu, 6 Oct 2005, J. Allen Dove wrote:
"leak", which honestly surprised me. We even explicitly unset the vars but that doesn't guarantee the GC kicks off for them near-time?
unset() != free(). The memory allocated is still freed during
the request shutdown (where GC actually kicks in).
As a total aside, and being a paranoid C++ guy, I would love a "free" method that I could call that frees what I tell it to exactly when I tell it to... :-)
I think someone requested this before but it was shut down for
some reason..can't remember what it was again.
--Jani