Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8332 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33265 invoked by uid 1010); 3 Mar 2004 03:46:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33218 invoked from network); 3 Mar 2004 03:46:50 -0000 Received: from unknown (HELO sys20.mail.msu.edu) (35.9.75.120) by pb1.pair.com with SMTP; 3 Mar 2004 03:46:50 -0000 Received: from 66-65-38-153.nyc.rr.com ([66.65.38.153] helo=chiaraquartet.net) by sys20.mail.msu.edu with asmtp (Exim 4.24 #37) (TLSv1:AES256-SHA:256) id 1AyNLO-0000Hm-Gx; Tue, 02 Mar 2004 22:46:50 -0500 Message-ID: <4045553C.3080309@chiaraquartet.net> Date: Tue, 02 Mar 2004 22:47:08 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob Richards CC: internals@lists.php.net References: <014501c400be$2190f1f0$f7dea8c0@cyberware.local> In-Reply-To: <014501c400be$2190f1f0$f7dea8c0@cyberware.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus: None found by Clam AV Subject: Re: more static method fun From: greg@chiaraquartet.net (Greg Beaver) 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