Re: RFC: Remove "destructor" from PEAR class

From: Date: Wed, 16 Jun 2004 17:56:16 +0000
Subject: Re: RFC: Remove "destructor" from PEAR class
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30807@lists.php.net to get a copy of this message
Alexey Borzov wrote:
This is actually a bug, probably the oldest one in PEAR! The PEAR class should not register itself this way. The intention behind having the "destructor" method there was to allow people to call the superclass destructor, in case it would contain something useful for all objects one day. Fixed in CVS.
Thanks, I applied your fix to my local PEAR.php and the script worked OK, without dieing of memory limit. Of course, now we have _PEAR() method that is not used anywhere at all. ;]
Actually I use it in MDB to clean up any open transactions. 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 (#30807) next »