Re: Obsoleting PEAR.php
| From: | Jon Parise | Date: | Fri, 16 May 2003 21:29:42 +0000 |
| Subject: | Re: Obsoleting PEAR.php | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16382@lists.php.net to get a copy of this message | ||
On Fri, May 16, 2003 at 07:13:32PM +0200, Martin Jansen wrote:
> Agreed. A quick grep through /pear revealed that 80 classes are
> extending from PEAR and my wild guess is that only 30% of them really need
> anything that is provided there (like destructors).
And it's easy to implement destructors manually:
function Foo()
{
register_shutdown_function(array(&$this, '_Foo'));
}
function _Foo()
{
// destroy
}
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)