RE: [PHP-DEV] Leaking references
| From: | Wez Furlong | Date: | Wed, 28 Mar 2001 14:07:42 +0000 |
| Subject: | RE: [PHP-DEV] Leaking references | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-50125@lists.php.net to get a copy of this message | ||
> I don't have enough mental strength to dive into that script
> right now, but
:-)
> be advised that if you create circular references (which
> apparently you do)
> then yes, it will leak. PHP doesn't support circular references.
Ahhh.
It may sound like a stupid question, but why not?
And is it likely to in the future?
As for the leaks, when on a production system (--disable-debug)
does PHP catch and free them after each request (provided they
are emalloc'd) ?
If so, then I will forget about them. If not, I might have
to try another approach.
--Wez.