Re: RFC: Remove "destructor" from PEAR class
| From: | Alexey Borzov | Date: | Wed, 16 Jun 2004 17:53:09 +0000 |
| Subject: | Re: RFC: Remove "destructor" from PEAR class | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30806@lists.php.net to get a copy of this message | ||
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. ;]