Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7997 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68135 invoked by uid 1010); 19 Feb 2004 15:12:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68110 invoked from network); 19 Feb 2004 15:12:02 -0000 Received: from unknown (HELO sys22.mail.msu.edu) (35.9.75.122) by pb1.pair.com with SMTP; 19 Feb 2004 15:12:02 -0000 Received: from 66-65-38-153.nyc.rr.com ([66.65.38.153] helo=chiaraquartet.net) by sys22.mail.msu.edu with asmtp (Exim 4.24 #37) (TLSv1:AES256-SHA:256) id 1AtpqF-0006qP-RZ; Thu, 19 Feb 2004 10:11:55 -0500 Message-ID: <4034D23E.8020107@chiaraquartet.net> Date: Thu, 19 Feb 2004 10:11:58 -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: Pierre-Alain Joye CC: Marcus Boerger , Hartmut Holzgraefe , John Coggeshall , PHP Internals References: <1077090830.30573.1.camel@coogle.localdomain> <40340579.7050309@chiaraquartet.net> <40347BE5.2090405@php.net> <8745888843.20040219154942@marcus-boerger.de> <20040219155541.11451fe1@localhost.localdomain> In-Reply-To: <20040219155541.11451fe1@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus: None found by Clam AV Subject: Re: [PHP-DEV] Re: Static weirdness.. From: greg@chiaraquartet.net (Greg Beaver) Pierre-Alain Joye wrote: >One sure thing, $this should not be set in static methods. > I completely agree - the headache of fixing PEAR's "kind of static" methods is really annoying, and not really fixable. A method should either be static, non-static, or split into two methods, one that is static, and one that is not. Language-level enforcement of not allowing $this in static methods is very nice. Grge