Re: more static method fun
| From: | Greg Beaver | Date: | Wed, 03 Mar 2004 03:47:08 +0000 |
| Subject: | Re: more static method fun | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8332@lists.php.net to get a copy of this message | ||
Hi,
Rob Richards wrote:
Within the dom extension there are a few methods which can be called both statically and off an instantiated object.The PEAR base class also has this design flaw in several methods. It has caused nothing but annoying and unfixable bugs. The only good solution is to redesign by splitting the methods into two methods, one static, one not. It's best to do this before the stable label is applied, unless you like getting the same valid bugs reported over and over with different permutations :) Greg