Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7993 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46827 invoked by uid 1010); 19 Feb 2004 15:02:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46803 invoked from network); 19 Feb 2004 15:02:13 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 19 Feb 2004 15:02:13 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i1JF2A9b015075; Thu, 19 Feb 2004 16:02:12 +0100 Date: Thu, 19 Feb 2004 16:02:10 +0100 (CET) X-X-Sender: derick@localhost To: Pierre-Alain Joye cc: PHP Internals In-Reply-To: <20040219155541.11451fe1@localhost.localdomain> Message-ID: References: <1077090830.30573.1.camel@coogle.localdomain> <40340579.7050309@chiaraquartet.net> <40347BE5.2090405@php.net> <8745888843.20040219154942@marcus-boerger.de> <20040219155541.11451fe1@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: Static weirdness.. From: derick@php.net (Derick Rethans) On Thu, 19 Feb 2004, Pierre-Alain Joye wrote: > On Thu, 19 Feb 2004 15:49:42 +0100 > Marcus Boerger wrote: > > > A static and a non static member function are two absolute completley > > different things. Anyway calling a static method from an instance as > > $instance->staticmethod() or $instance::staticmethod() should be > > allowed. I guess the latter is what Lukas and Hartmut meant. > > I discussed with Lukas what he meant by "I agree". A lot of > misunderstanding in this thread :) > > One sure thing, $this should not be set in static methods. But it should get set in non-static methods...which doesn't happen now :) Derick