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
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php