Re: minute performance gain
| From: | Alexey Borzov | Date: | Mon, 18 Oct 2004 18:34:10 +0000 |
| Subject: | Re: minute performance gain | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33945@lists.php.net to get a copy of this message | ||
Hi,
Greg Beaver wrote:
BTW, when will a version of PEAR containing this fix (not registering _PEAR as destructor) be released?That brings me to another issue. Since the PEAR class defines a destructor it kinda sucks to extend from PEAR needlessly. Obviously if you dont call the PEAR class constructor you get around this issue.As my last email says, the PEAR destructor is never automatically registered thanks to the strcasecmp('pear') check, you have to explicitly call it through $this->_PEAR() in your own destructor, and I believe Stig designed it to be for debugging purposes only.