Re: Re: Static weirdness..

From: Date: Thu, 19 Feb 2004 15:02:10 +0000
Subject: Re: Re: Static weirdness..
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-7993@lists.php.net to get a copy of this message
On Thu, 19 Feb 2004, Pierre-Alain Joye wrote: > On Thu, 19 Feb 2004 15:49:42 +0100 > Marcus Boerger <helly@php.net> 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

« previous php.internals (#7993) next »