Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7994 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53701 invoked by uid 1010); 19 Feb 2004 15:05:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53621 invoked from network); 19 Feb 2004 15:05:14 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.188) by pb1.pair.com with SMTP; 19 Feb 2004 15:05:14 -0000 Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Atpjd-0001q5-00; Thu, 19 Feb 2004 16:05:05 +0100 Received: from [217.160.91.103] (helo=php.net) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1Atpjc-00012l-00; Thu, 19 Feb 2004 16:05:04 +0100 Message-ID: <4034D08B.70405@php.net> Date: Thu, 19 Feb 2004 16:04:43 +0100 Reply-To: hartmut@php-groupies.de User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040111 X-Accept-Language: en, de MIME-Version: 1.0 To: Marcus Boerger CC: Greg Beaver , hartmut@php-groupies.de, John Coggeshall , PHP Internals References: <1077090830.30573.1.camel@coogle.localdomain> <40340579.7050309@chiaraquartet.net> <40347BE5.2090405@php.net> <8745888843.20040219154942@marcus-boerger.de> In-Reply-To: <8745888843.20040219154942@marcus-boerger.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:4d0d1aa686edf46be04a942500a6c0af Subject: Re: [PHP-DEV] Re: Static weirdness.. From: hartmut@php.net (Hartmut Holzgraefe) Marcus Boerger wrote: > A static and a non static member function are two absolute completley > different things. sure they are (in certain ways), but when *calling* them (from a class users point of view, not an implementors point of view) the only difference is that the static member is guaranteed to not change the state of an instance while a non-static member is not besides that there is no difference for a caller/user of an instance and forcing him to know which member functions are static and which aren't just adds a level of inconvenience without gain so IMHO $instance->static() has to work classname::static() obviously has to work, too $instance::static() is optional -- Hartmut Holzgraefe