Re: Understanding Static Methods

From: Date: Fri, 19 Nov 2004 10:43:32 +0000
Subject: Re: Understanding Static Methods
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-202497@lists.php.net to get a copy of this message
On Fri, 19 Nov 2004 03:16:14 +0100, Sylvain Girard <s.girard@pandora.be> wrote: > > I'm taking a wild guess here, but doesn't that got anything to do with the > public declaration of the method? > If I declare the method without the public declaration it bahaves the same ... static function TestStatic() { } Can be called also by using the name of an instanced var: $test->TestStatic() continues working. Regads, Jordi.

« previous php.general (#202497) next »