Re: RFC: Remove "destructor" from PEAR class

From: Date: Wed, 16 Jun 2004 15:08:11 +0000
Subject: Re: RFC: Remove "destructor" from PEAR class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30780@lists.php.net to get a copy of this message
Alexey Borzov wrote:
as the "destructor". And when the constructor of the child class calls PEAR's constructor, it checks whether the class or any of the *parent* classes have a "destructor". Thus each class that extends PEAR, EVEN IF IT DOES NOT USE THE DESTRUCTOR FEATURE ITSELF, gets registered in PEAR's list of objects, preventing garbage collection. This creates a huge problem for long running scripts.
shouldnt it be possible to just register the object if a destructor method is defined? regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.dev (#30780) next »