Re: RFC: Remove "destructor" from PEAR class

From: Date: Wed, 16 Jun 2004 18:21:03 +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-30810@lists.php.net to get a copy of this message
The _PEAR method should still be there until emulated destructors are finally deprecated and gone, for the same reasons it was put there in the first place (forward compatibility). - Stig On Wed, 16 Jun 2004 21:53:09 +0400, Alexey Borzov <borz_off@cs.msu.su> wrote: > > Hi, > > Stig Bakken 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. ;] >

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